HTML Web Components Make Progressive Enhancement And CSS Encapsulation Easier!
August 7, 2024
Until then, I’d been under the false assumption that all web components rely solely on the presence of JavaScript in conjunction with the rather scary-sounding Shadow DOM. While it is indeed possible to author web components this way, there is yet another way. A better way, perhaps? Especially if you, like me, advocate for progressive enhancement. HTML Web Components are, after all, just HTML.
Source: HTML Web Components Make Progressive Enhancement And CSS Encapsulation Easier! | CSS-Tricks
Web Components can seem like a heavy lift to get started with–but as Kev Bonnet explains, you can start with plain old semantic HTML (POSH).
If you’ve not properly explore them, this is a greta place to start.