Baseline Widely Selectors
:dir()
The :dir() CSS functional pseudo-class matches elements by text direction, either right to left (rtl) or left to right (ltr).
Baseline Status
Widely Available
Since 2023-12-07
First Core Launch
Firefox 49
2016-09-20
Core-3 Stability
2,632d (7.2y)
Last: Chrome (2023-12-05)
BCD Keys Mapped
1
Group: Selectors
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 49 | 2016-09-20 |
| Firefox for Android | mobile | 49 | 2016-09-20 |
| Safari | desktop | 16.4 | 2023-03-27 |
| Safari on iOS | mobile | 16.4 | 2023-03-27 |
| Chrome | desktop | 120 | 2023-12-05 |
| Chrome Android | mobile | 120 | 2023-12-05 |
| Edge | desktop | 120 | 2023-12-07 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.selectors.dir | CSS | 2,632d (7.2y) |