CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: :host-context() CSS function

The :host-context() Function

ExperimentalPseudo-class

Selects the shadow host of the shadow DOM containing the CSS it is used inside.

Syntax for :host-context()
 Syntax
CSS Scoping Level 1:host-context( <compound-selector># )

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem