The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and CSS. It gives developers a standard on which to write better, maintainable code. BEM gives everyone on a project a declarative syntax that they can share so that they're on the same page.

7m read timeFrom css-tricks.com
Post cover image
Table of contents
Why should we consider BEM?Problems with BEM CSSMore examples of BEM in actionDislikes of BEMSass and BEMSummaryFurther reading

Sort: