CSS user-select Property Explained
What the CSS user-select property does, with an example.
Published November 6, 2026
The CSS user-select property controls whether a user can select text within an element.
Key points
- Check browser compatibility on a resource like caniuse.com if targeting older browsers
Example
user-select: none;