/template-shadowdom-practice

Playing with Web Component templates & Shadow DOM

Primary LanguageCSS

Web Components: Template & (some) Shadow DOM Practice

This is some really simple Web Components code I hacked together, just so I could better understand how WC works. It mainly focuses on templates but also uses a little Shadow DOM.

View the demo!!! »

The code is documented in both index.html and scripts/main.js, so you MIGHT have a enough info to start using the code right now. But for an in-depth look at the code, view the related blog post here.

-kdz