back

by tobr·12y ago·view on hn ↗
I supposed the idea is to limit specificity. It's the same reason you should use class instead of id.

I find the BEM syntax to look horrible though, with the double hyphens and underscores. Why not e.g. capitalize blocks and elements, keep modifiers lower case, and just use single hyphens?