CSS touch-action Property Reference

The CSS touch-action property is a standard property in Pointer Events. Review its formal syntax, computed behavior, and practical declarations.

CSS touch-action Property Reference

The CSS touch-action property is a standard property in Pointer Events. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

touch-action overview

The CSS touch-action property is a standard property in Pointer Events. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

touch-action formal syntax
FieldValue
Formal syntaxauto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation
Initial valueauto
Applies toallElementsExceptNonReplacedInlineElementsTableRowsColumnsRowColumnGroups
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typenotAnimatable
Mediavisual
Specification groupPointer Events
StatusStandard

Practical examples

These declarations demonstrate valid ways to set touch-action. The initial and inherit global keywords remain available even when a property-specific value is preferable.

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

Description

The CSS touch-action property is a standard property in Pointer Events. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: touch-action
  2. MDN: CSS Properties Reference

Similar or alternative tools

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