Controls the visible highlighting of selections of text and elements. It is possible to blind out selection completely or to allow the selection of text only.
Overview tableall
user-select: all
user-select: element
user-select: none
user-select: text
Deactivate selection of text for elements with the class no-select.
.no-select {
user-select: none;
}
Usage
Needs vendor prefixes.
Notes
Also works on mobile devices to suppress selection by touch and hold.
Related specificationsuser-select
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4