Answer the question
In order to leave comments, you need to log in
How long can modifiers be in BEM?
Can you tell me how to make such a BEM block?
In my case, it turns out that the modifiers are stretched
. And if everything is not done through profile__
, then I will get 3 bam blocks in the block, which will then reduce my options for the names of other main blocks on the page
https://codepen.io/user2022nn/pen/MWrqyrw
Answer the question
In order to leave comments, you need to log in
* These are not modifiers, but elements
. They can be as long as required, and in any quantity, the methodology does not regulate this.
At some point, you will run into the fact that the volume of block styles becomes impossible to maintain and you need to decompose it into smaller blocks.
If this is immediately obvious, then it is better to decompose immediately.
will reduce my options for the name of other main blocks on the page
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question