A
A
ak_wi2018-10-07 14:53:15
css
ak_wi, 2018-10-07 14:53:15

What analogue of BEM is relevant for use in layout and CSS?

As far as I know, BEM only uses Yandex. The system is logical, but what is more popular to use in CSS and HTML?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Bogachev, 2018-10-07
@sfi0zy

As far as I know, BEM only uses Yandex.

BEM as a methodology for organizing CSS is used by everyone, not only Yandex. In our area, this is probably the most popular approach. They say about him "if you don't know what to choose - take BEM".
There are alternative approaches to classes in CSS, like RSCSS or even Atomic CSS , but they don't have the same ubiquity. Although it is useful to get to know - as with different languages, different methodologies expand the vision of what is happening. And what to choose in a particular situation - no one will answer this question for you. Everything has its pros and cons.
PS: It's probably worth quoting a couple of quotes from the first google articles with css-tricks and csswizardry (the next answer says that it is promoted there) to explain why I say in first of all, about the organization of CSS and hint that "the whole world is mistaken that BEM is about CSS and classes through a dash":
- BEM is a popular naming convention for classes in HTML and CSS
- BEM (Block Element Modifier) ​​is a popular CSS class naming convention
- BEM - meaning block, element, modifier - is a front-end naming methodology
People in all these articles are talking about naming methodology, not about "BEM is something more".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question