CSS pointer-events property

CSS pointer-events

CSS pointer-events is used to specify whether the an pointer events can be assigned to an element or not.

This property is mainly used to disable mouse events such as hovering, clicking, dragging, etc.

Example

Try Yourself