Baseline Newly Text fragments

::target-text

The ::target-text pseudo-element allows you to style text highlighted by a URL text fragment such as #:~:text=snippet.

Baseline Status
Newly Available
Since 2024-12-11
First Core Launch
Chrome 89
2021-03-02
Core-3 Stability
1,380d (3.8y)
Last: Safari (2024-12-11)
BCD Keys Mapped
1
Group: Text fragments

Browser Support Timeline

Chrome v89 (2021-03-02) Chrome Android v89 (2021-03-02) Edge v89 (2021-03-04) Firefox v131 (2024-10-01) Firefox for Android v131 (2024-10-01) Safari v18.2 (2024-12-11) Safari on iOS v18.2 (2024-12-11)
Green dot marks the first browser release (2021-03-02); blue dots show subsequent browser launches (+1380d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 89 2021-03-02
Chrome Android mobile 89 2021-03-02
Edge desktop 89 2021-03-04
Firefox desktop 131 2024-10-01
Firefox for Android mobile 131 2024-10-01
Safari desktop 18.2 2024-12-11
Safari on iOS mobile 18.2 2024-12-11

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.selectors.target-text CSS 1,380d (3.8y)