Answer the question
In order to leave comments, you need to log in
Can a block modifier affect elements or how to do it right?
For example:
<div class="block">
<span class="block__label">
Блок
<i class="fa fa-angle-down block__icon"></i>
</span>
</div>
.block__icon{
visibility:hidden;
}
.block__label--active .block__icon{
visibility:visible;
}
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