Baseline Widely Selectors

Host

The :host CSS pseudo-class selects the containing element of the shadow tree in which it is used. The :host() CSS pseudo-class selects the that element only if it matches the provided selector.

Baseline Status
Widely Available
Since 2020-01-15
First Core Launch
Safari 10
2016-09-20
Core-3 Stability
763d (2.1y)
Last: Firefox (2018-10-23)
BCD Keys Mapped
2
Group: Selectors

Browser Support Timeline

Safari on iOS v10 (2016-09-13) Safari v10 (2016-09-20) Chrome v54 (2016-10-12) Chrome Android v54 (2016-10-19) Firefox v63 (2018-10-23) Firefox for Android v63 (2018-10-23) Edge v79 (2020-01-15)
Green dot marks the first browser release (2016-09-13); blue dots show subsequent browser launches (+1219d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Safari on iOS mobile 10 2016-09-13
Safari desktop 10 2016-09-20
Chrome desktop 54 2016-10-12
Chrome Android mobile 54 2016-10-19
Firefox desktop 63 2018-10-23
Firefox for Android mobile 63 2018-10-23
Edge desktop 79 2020-01-15

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.selectors.host CSS 763d (2.1y)
css.selectors.hostfunction CSS 763d (2.1y)