🏠 New in Low Baseline Support: Host

January 15, 2020

caniuse · mdn · spec

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.

Source features