E
E
Error4202019-03-26 02:29:33
css
Error420, 2019-03-26 02:29:33

Is it possible to use BEM not in all code?

Is it necessary to use classes written about BEM rules in all blocks, or can I do it only in those that will be repeated on the site again, or if I started writing BEM-style CSS classes, then I should continue to do this in all blocks?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
ReActor Dmitry Vershansky, 2019-03-26
@HunteR-VRX

No, in terms of the BEM methodology, you can only apply this scheme to those dependencies and elements that you consider acceptable for this. Which means it's not for everyone.)

P
Polina Fedorova, 2019-03-26
@fedorovapolina

But from the point of view of ordering the code, it is better to use bam throughout the project. And the eyes are nice and it will be easier for people who, perhaps after you, will get into the code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question