Answer the question
In order to leave comments, you need to log in
How to add a modifier to an element?
I write: .block._mod>.-elem._mod
I receive:
<div class="block block_mod">
<div class="block__elem block block_mod"></div>
</div>
<div class="block block_mod">
<div class="block__elem block__elem_mod"></div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question