property
User select — CSS reference
Requests atomic selection of the element text when the user selects part of it. Use for short copyable tokens rather than long articles. It does not prevent scripts from accessing text.
Formal Syntax & Structure
css syntaxcss
user-select: all;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>user-select</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#a{user-select:all}</style><body><span id="a">COPY TOKEN</span></body></html>