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

Hello, I’m styling a slotted image like this — `::slotted([slot="image"])` — and I was immediately curious; is there a more meaningful or elegant way of selecting a slot by its slot name? I’m looking for something like `::slotted-by-name(image)` but I haven’t stumbled upon anything like this.

https://codepen.io/jonneal/pen/yZQNKb?editors=1010


-- 
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

Received on Friday, 15 February 2019 22:33:24 UTC