- From: xgqfrms <notifications@github.com>
- Date: Thu, 03 Sep 2020 21:14:26 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 4 September 2020 04:14:38 UTC
# ::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