Screenshot looks like browsers that all
# social
s
Screenshot looks like browsers that all support it though 🙂
d
I'd be interested to see
s
same
b
Nested selectors in combination with :host
:host h1 { color: red; } vs :host { h1 { color: blue; } }
In safari
I couldn't find a issue for it on webkit issue tracker, but it seems to be fixed in Safari Technology Preview
d
That's very interesting, I assume for web components
b
Exactly. I was using it to select something like and then :host([open]) nav { display:block }
And great guess btw 😁
d
I have been experimenting with various ways of using css with web components both with and without shadow dom and also allowing the user to have some control using ::part e.g. https://codepen.io/deanleigh/pen/xxeoyyo It gets quite complex, especially with a mixture of scoped and global styles required