Skip to content

24 ways to impress your friends

Vote down?

Mike Davies

Useful writeup on a different approach to managing modular/component CSS. Thanks Bruce!

In your section “Components all the way down” you give an example of a Gallery component and inside that component there’s a Navigation component. How is the Navigation component protected from inheriting styles from the parent Gallery component? Is it based on the idea that styles are only applied to classnames, and having unique class names is how the separation is enforced?

Good to see extensions that work with CSS’ strengths.