Interactivity

User Drag

Style syntax for controlling whether the user can drag element.

🚧This page is still under construction and some content may not be complete.

Overview [sr-only]

ClassDeclarations
user-drag:valueuser-drag: value; -webkit-user-drag: value
user-drag:autouser-drag: auto; -webkit-user-drag: auto
user-drag:elementuser-drag: element; -webkit-user-drag: element
user-drag:noneuser-drag: none; -webkit-user-drag: none

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="user-drag:auto:hover user-drag:auto@sm user-drag:auto@dark user-drag:auto@print">…</div>
PREVIOUS
Touch Action

Style syntax for setting how an element's region can be manipulated by a touchscreen user.

NEXT
User Select

Style syntax for controlling whether the user can select text.

MIT License Ā© Aoyue Design LLC.