Advertisement

Google Ad Slot: content-top

CSS Pointer Event


The pointer-events property in CSS specifies whether an element can respond to pointer (mouse, touch, stylus) events

Property Value

Description

auto

The element reacts to pointer events (click, hover, etc.).

none

The element ignores all pointer events.

Example
.none {
pointer-events: none;
}

.auto {
pointer-events: auto;
}
Try it yourself