Shade entire page, unshade selected elements on hover
问题 I'm trying to make a page inspection tool, where: The whole page is shaded Hovered elements are unshaded. Unlike a lightbox type app (which is similar), the hovered items should remain in place and (ideally) not be duplicated. Originally, looking at the image lightbox implementations, I thought of appending an overlay to the document, then raising the z-index of elements upon hover. However this technique does not work in this case, as the overlay blocks additional mouse hovers: $(function()