Shedding Light on the Shadow Dom

7904a5ddb645476c84293c6c9ebde9c2?s=47 Dave
June 01, 2016

Shedding Light on the Shadow Dom

We have many problems that exist in modern CSS architecture including a lack of encapsulation, no facility to accurately remove dead code and of course, specificity conflicts.

I will explain how the Shadow Dom specification can help to solve them by crafting reusable components using various pseudo selectors and slots. I'll also show you how to create an API for your components that consumers can access using CSS Custom Properties.



June 01, 2016