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.
Leave Comment
I kinda have to make sure that you are a real person! So log in to post a comment. Or connect socially from one of the websites below.





2 comments
Hassan Selim
Interesting
Is this a CSS 3 property or it’s been there for a long time?
elleestcrimi
It was originally available for SVG elements, and is now a CSS3 property for the rest of the HTML elements.