Re: [w3c/webcomponents] Support for pseudo elements with ::slotted() selectors (#655)

# ::slotted & :host


https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted

https://developer.mozilla.org/en-US/docs/Web/CSS/:host

https://developers.google.com/web/fundamentals/web-components/shadowdom

> demo

```css
/* Selects any element placed inside a slot */

::slotted(*) {
  font-weight: bold;
}

/* Selects any <span> placed inside a slot */
::slotted(span) {
  font-weight: bold;
}

```


```css

/* Selects a shadow root host */
:host {
  font-weight: bold;
}

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/655#issuecomment-686893247

Received on Friday, 4 September 2020 04:14:38 UTC