CSS user-select Property Reference
The CSS user-select property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
user-select overview
The CSS user-select property is a standard property in CSS Basic User Interface. 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
| Field | Value |
|---|---|
| Formal syntax | auto | text | none | all |
| Initial value | auto |
| Applies to | allElements |
| Inherited | No |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | discrete |
| Media | visual |
| Specification group | CSS Basic User Interface |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set user-select. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
user-select: initial;
}
.inherit-example {
user-select: inherit;
}
@supports (user-select: initial) {
.supported {
user-select: initial;
}
}