---
id: "selection"
kind: "web-feature"
canonical: "https://timetostable.com/feature/selection"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# ::selection (`selection`)

The ::selection CSS pseudo-element selects text a user has highlighted.

- **Group**: Selectors
- **Baseline**: Limited Availability
- **Specification**: https://drafts.csswg.org/css-pseudo-4/#selectordef-selection
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 1.1 | 2003-10-24 |
| Chrome | 1 | 2008-12-11 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |
| Firefox | 62 | 2018-09-05 |
| Firefox for Android | 62 | 2018-09-05 |

