Block Element Modifier is methodology, that helps you achieve reusable components and code sharing in the front-end
Getting started
Easy
To use BEM you literally do not need nothing besides BEM naming.
Modular
Independent blocks and css selectors plus layer system makes your code reusable and modular.
Flexible
Methodology and tools, that can be recomposed and configured in the way you like BEM.

Why you should use BEM

There are plenty of methodologies out there which aimed on reducing CSS codebase and organizing programmers cooperation and maintaining of CSS code. This is obvious in large projects like Twitter, Facebook and Github, but other projects often grows into same "Huge CSS file" state pretty quickly.

Here are some reasons, that can convince you to use BEM or other methodology in your front-end:

  • Performance — smaller number of CSS selectors (because of reusing Blocks) causing better performance and experience of site.
  • Productivity — clear and structured CSS is easier to maintain and develop.

Feel free to contact us at Gitter chat if you have more questions about BEM methodology.

Getting started

We working on step-by-step guide, that will help you understand:

After reading those — you can read articles, that listed in awesome-bem repository.

We will be very happy to hear you suggestion about this introduction. Also we accepting requests at gihub repository of this site.

Also we writing list of projects, who uses BEM methodology