Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

BEM I think comes from choice to aggressively reduce complexity, not from ignorance.

Sprinkled with a tiny bit of specificity classes for state, it combines best of both worlds.



then why is BEM more complex than just plain CSS? if the idea is to reduce complexity, that’s a giant fail.


It is less complex in that it eliminates specificity conflicts and approaches CSS in a modular fashion by namespacing each module/block.

You have to name things, then you don't have to apply multiple rules.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: