Battling BEM – 5 common problems and how to avoid them
David Berner
1.1K26

Very good article! I also want to add one more point, it is not very nice to duplicate classes in markup like so: ‘card card--is-active’ or ‘button button--primary’. Instead it can be just ‘card--is-active’ or ‘button--primary’ with a help of CSS3 selectors (yes, with pure CSS, no pre-processors needed for this) — http://webuniverse.io/css-organization-naming-conventions-and-safe-extend-without-preprocessors/#To_extend_or_not_to_extend?

Like what you read? Give Sergey Zarouski a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.