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.

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

pointer-events formal syntax
FieldValue
Formal syntaxauto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit
Initial valueauto
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Basic User Interface
StatusStandard

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.

pointer-events live example
CSS .reset-example { pointer-events: initial; } .inherit-example { pointer-events: inherit; } @supports (pointer-events: initial) { .supported { pointer-events: initial; } }

Description

The CSS pointer-events property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: pointer-events
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies