New! My 44-page ebook "CSS in 44 minutes" is out! 😃
#pointer-events
Defines if the element reacts to pointer events or not.
default
pointer-events: auto;
The element reacts to pointer events, like :hover
or click
.
pointer-events: none;
The element does not react to pointer events, like :hover
or click
. As a result, elements that are behind are accessible.