* Basic info on pointer-events property Property, possible values and link to more information * Update index.md * Update index.md
1.3 KiB
1.3 KiB
title
| title |
|---|
| Pointer Events |
Pointer Events
The pointer-events property determines if an element will react to pointer events.
There are 4 possible values that can be assigned to the pointer-events property:
autoDefault Setting: Reacts topointer eventslike :hover or click.noneSets that the element won't react topointer-eventsinitialUses the default valueinheritInherits from parent
This property specifies how your mouse reacts when you hover over any element on a page.
Example
.example {
pointer-events: auto;
/*this will use the default look set by the browser agent*/
}
.example {
pointer-events: none;
/*this will use the regular mouse look when hovered over the element*/
}
Other acceptable values
Other values could be: initial, and inherit