Day 18: inheritable styles and web components

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
We already know that we can encapsulate styles within a web component by adding elements along with the styles to the shadow DOM. Global style declarations from outside don’t overwrite styles inside the web component. Shadow DOM doesn't provide total encapsulation, though.If you look at the following component, you’ll notice that it uses the same...