Hacker News new | ask | show | jobs
by kerkeslager 1046 days ago
When I have some time I'll play around with this: I'm certainly open to the idea that there's some stuff I don't know about slots. But I have a question: When you append the slot to the shadow root, doesn't that mean that you lose styling in the slot contents?
1 comments

no things inside slots keep the styling from the outside
Hm, I stand by my comment that slots are overcomplicated, but that might actually make it worth it.
Okay, I got around to trying this out, and that's cool. Thanks for explaining this.
you are welcome happy to help.