CSS HTML Validator: The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: :host-context() CSS function

The :host-context() Function

Related:

Additional links:

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