About this page
:host() - CSS | MDN
“The :host() CSS pseudo-class function selects the shadow host of the shadow DOM containing the CSS it is used inside (so you can select a custom element from inside its shadow DOM) — but only if the selector given as the function's parameter matches the shadow host. :host() has no effect when used outside a shadow DOM.” (the page’s own description)
- Topic
- Technology
- Quality
- Not rated yet
- Language
- Not detected yet
- Text on page
- 3,547 characters
- Page size
- 280 kB
- Answered
- OK (200), HTML
- Last read
- 7 Jul 2025
- In our index since
- 7 Jul 2025
- Safe search
- Not checked yet
- Links to it
- Not counted yet