Don’t you ever wonder how to click on an element which is behind another element?? Well apparently this is very easy and is done with the CSS property “pointer-events”

For example if you have element A which is on top of element B then we apply the CSS property to A as such:

#element-A
{
    pointer-events: none;
}

Now you can click element B with element A on top of it! It’s that simple.

VN:F [1.9.17_1161]
Rating: +3 (from 3 votes)
Quick Tip #1 : Click-through Web Elements, 100% based on 3 ratings

2 comments

Hassan Selim
Thursday, September 15, 2011 @ 02:15:11

Interesting :)
Is this a CSS 3 property or it’s been there for a long time?

VA:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Leave Comment

13