CSS pointer-events Property Reference
The CSS pointer-events property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
pointer-events overview
The CSS pointer-events property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.
The computed value normally inherits from the parent element when no declaration wins the cascade.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit |
| Initial value | auto |
| Applies to | allElements |
| Inherited | Yes |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | discrete |
| Media | visual |
| Specification group | CSS Basic User Interface |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set pointer-events. The initial and inherit global keywords remain available even when a property-specific value is preferable.
.reset-example {
pointer-events: initial;
}
.inherit-example {
pointer-events: inherit;
}
@supports (pointer-events: initial) {
.supported {
pointer-events: initial;
}
}