4 ms·
And it does a poor job in that regard too. - CSS modules promote more re-use if structured correctly - BEM and the like exist to do the literal opposite, to is
by breeny592 9y ago
And it does a poor job in that regard too.
- CSS modules promote more re-use if structured correctly - BEM and the like exist to do the literal opposite, to isolate styles to minimise regression and site wide issues at scale.
- Visual consistency is enforced in CSS usually through variables to make sure spacing, colours etc. are the same, with a default set of global styles. There is literally no difference in a modular approach - you can easily have global styles to theme, and then isolate and import the more specific rules as needed.
This article reads as "I learnt how to do CSS this way so anything new is scary and wrong"
- yuchi 9y ago> This article reads as "I learnt how to do CSS this way so anything new is scary and wrong" Yes. A little bit sad…