5 ms·
> The CSS Zen Garden worked because everyone was using a single markup file. CSS Zen Garden was a proof of concept built around a single markup file. But if yo
by yosito 21d ago
> The CSS Zen Garden worked because everyone was using a single markup file.
CSS Zen Garden was a proof of concept built around a single markup file. But if you extend that concept to hundreds of dynamic pages and a well built CSS design system, that's where the real power of CSS shows.
> In real life, it doesn't really work.
In real life it works incredibly well, which is what CSS Zen Garden originally showed, and what we've proven by applying these concepts to Firefox.
> If anything is out of place in the markup, the properties may not apply as intended. Similarly, if the CSS doesn't account for DOM structures, then you need modify rules or add new ones.
When stylesheets are written with an understanding of the Cascade and specificity, this isn't the case at all.