Re:CSS Zen Garden
by z3t4 on Thursday March 19, 2020 @11:11AM
(#22628217)
Just like with programming you have to limit scope. And avoid using global scope. Its fine to have a "private" base style for components. The power of CSS however is that users can overrule those styles. Its however important to organize the css in a cascade and not have rules for the same element spread out all over the place with !important everywhere.
[ Parent
| on HN ]
There are no comments on this comment yet.