3 ms·
> Often, much better clarity could be achieved simply with better naming and structuring of elements. I'm always interested in seeing examples of good class na
by albedoa 9y ago
> Often, much better clarity could be achieved simply with better naming and structuring of elements.
I'm always interested in seeing examples of good class naming and structure if you have some available.
BEM is more about specificity, modularity, and namespacing than it is about clarity (which many think it also achieves).
- blauditore 9y agoWell, I disagree with some assumptions it makes. For example, `.button--active` should help avoiding collisions with other elements using the same modifier `.active`. But I would argue that either there are shared styling rules between such "colliding" elements, or the modifier is named poorly (i.e. shouldn't be as generic as `active`.