Answer the question
In order to leave comments, you need to log in
How to refer to element of element in bem?
let's say I have a header__list element, how to name the header__list element exactly, as I know header__list-item means an element of the element and you don’t need to do this, maybe you need to make this element a block, like: list-headet or what?
Answer the question
In order to leave comments, you need to log in
maybe you need to make this element a block, like: list-headet or what?
<div class="header">
<h1 class="header__title">Title</h1>
<p class="header__desc">Description</p>
<ul class="header__list list">
<li class="list__item"><a href="#" class="list__link">link</a></li>
<li class="list__item"><a href="#" class="list__link">link</a></li>
<li class="list__item"><a href="#" class="list__link">link</a></li>
</ul>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question