Syntax

user-select🚧

Controlling whether the user can select text.

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

Overview

ClassDeclarations
user-select:value-webkit-user-select: value; user-select: value;
user-select:all-webkit-user-select: all; user-select: all;
user-select:auto-webkit-user-select: auto; user-select: auto;
user-select:none-webkit-user-select: none; user-select: none;
user-select:text-webkit-user-select: text; user-select: text;

Conditionally apply

Apply styles based on different states using selectors and applying conditionally.

<div class="user-select:auto:hover user-select:auto@sm user-select:auto@dark user-select:auto@print">…</div>
Syntax
user-drag

Controlling whether the user can drag element.

Syntax
variable

CSS variables defined specific values to be reused throughout a document.

© Aoyue Design LLC.