CSS · Properties — Pointer Events

touch-action

The CSS touch-action property. Initial value: auto. Not inherited.

Syntax
touch-action: auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation

Example

Try it

Notes

Media: visual. Applies to: allElementsExceptNonReplacedInlineElementsTableRowsColumnsRowColumnGroups. Computed value: asSpecified.

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course