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() CSS function

The :host() Function

Pseudo-class

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

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

Recommended Links

Search Engine Links (for more information)

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