Re: [w3c/webcomponents] Can I style a slotted element by its slot name? (#795)

Yep, we can use `slot[name=image]::slotted(*)`, I think.

Note that `::slotted(*)` is equivalent to `*::slotted(*)`;  The universal selector (`*`) before pseudo element (`::slotted`) can be omitted. So you can use any selector before `::slotted(*)` to select a specific slot element.

-- 
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/795#issuecomment-464358829

Received on Saturday, 16 February 2019 16:08:36 UTC