user-select
Limited availability97% of users
Controls whether the user can select text within an element. It is often used to prevent text selection on UI elements like buttons or icons.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- No
- Applies to
- all elements
- Animation type
- discrete
Quick example
.unselectable {
user-select: none;
/* prevents accidental text selection on UI components */
}Values
autotextnonealluser-select browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage97%of people can use this3% use a browser without it.
Browsers
54+
69+
79+Mobile
54+Android
79+Android
Interop 2026 focus area. All major browsers are actively working to fix cross-browser inconsistencies for this feature in 2026. Learn more →