Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
throwaway290
5mo ago
0 comments
Save
Share
Thanks. That's a JS-only thing then right?
0 comments
2 comments · 1 top-level
top
newest
oldest
azangru
5mo ago
· 1 in thread
The style tag inside of a shadow DOM? No, it can be written declaratively in plain html markup.
throwaway290
OP
5mo ago
if you need JS to actually use shadow dom then this sort of scoped styling is JS only
j
/
k
navigate · click thread line to collapse