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

# Host (`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.

- **Group**: Selectors
- **Baseline**: Widely Available
- **Newly Available Date**: 2020-01-15
- **Widely Available Date**: 2022-07-15
- **Specification**: https://drafts.csswg.org/css-shadow-1/#host-selector
- **Constituent BCD keys**: 2

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari on iOS | 10 | 2016-09-13 |
| Safari | 10 | 2016-09-20 |
| Chrome | 54 | 2016-10-12 |
| Chrome Android | 54 | 2016-10-19 |
| Firefox | 63 | 2018-10-23 |
| Firefox for Android | 63 | 2018-10-23 |
| Edge | 79 | 2020-01-15 |

