#pointer-events
Defines if the element reacts to pointer events or not.
默认属性
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.