User Select
Set the ability for users to select text in an element.
Limited availability
This feature does not work in some of the most widely-used browsers.
Chrome
Edge
Firefox
Safari
us-auser-select: all;us-autouser-select: auto;us-noneuser-select: none;us-tuser-select: text;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:us-(value)Small≥640px
md:us-(value)Medium≥768px
lg:us-(value)Large≥1024px
xxl:us-(value)Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:us-(value)