Answer the question
In order to leave comments, you need to log in
Is it possible to give two or more elements to one tag in BEM?
Good evening.
Is it possible in BEM to make one tag be represented by several elements at the same time? This is useful when you need to split the concept of "element" into two (select any property that does not fall under the concept of "modifier"). In other words, is it possible?
<div class="block">
<div class="block__wrapper block__wrapper-outer">
<div class="block__wrapper block__wrapper-inner"></div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
This is useful when you need to split the concept of "element" into two (select any property that does not fall under the concept of "modifier").
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question