'BEM mixin two elements into the single Dom
Hi'm confused BEM methodology. Can I mixin two elements in dom node? i.e.
.
.
.
<p class="txt__large txt__bold">...</p>
.
.
.
or
.
.
.
<p class="text__large wrapper__header>...</p>
.
.
.
And can I use mixin modifier and modifier value i.e.
.
.
.
<p class="txt txt_small txt_small_colorized>...</p>
.
.
.
Is block correct according to BEM? So Can I use txt block elements or container-1 elements in header?
<header class="container-1 txt">
<p class="txt__xlarge">something</p>
<p class="txt__xlarge txt__xlarge_color">something/p>
</header>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
