Web Components & Shadow DOM
What is the difference between Light DOM and Shadow DOM?
<!-- Light DOM -->
<my-element>
<p>This is Light DOM content</p>
</my-element>
<!-- Shadow DOM -->
<my-element>
#shadow-root
<style>/* Scoped styles */</style>
<slot></slot>
</my-element>