by SynnVoid · 2y ago · 0 comments
<my-custom-element> <p>This is a paragraph</p> </my-custom-element>
CSS:
my-custom-element { p { color: blue; } }
By choosing a unique name for the custom element, we achieve near the same functionality as @scope.