Limited Availability
Selectors
::selection
The
::selection CSS pseudo-element selects text a user has highlighted.
Baseline Status:
This feature is currently Limited (not yet Baseline). Latest engine implementation shipped on Sep 5, 2018.
Desktop Browser Engine Support
Google Chrome
1
Supported
Mozilla Firefox
62
Supported
Apple Safari
1.1
Supported
Microsoft Edge
12
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
62
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
id: selection