J
J
jertik32018-04-02 01:21:08
Emmet
jertik3, 2018-04-02 01:21:08

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>

I want to get this:
<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 question

Ask a Question

731 491 924 answers to any question