Y
Hacker News
new
|
ask
|
show
|
jobs
by
AltruisticGapHN
123 days ago
BEM is actually not hell, since the whole point is to have classes with a specificity of 1, making precedence of CSS rules easy to figure out.
Non-BEM CSS with ids and multi-classes everywhere was hell.
1 comments
exodust
118 days ago
Agreed. I owe a beer to whoever thought of BEM. It's saved precious brain cycles thinking of names. At first I was like what is this
bem__opinion--rubbish
but then it clicked and my workflow improved.
link