Answer the question
In order to leave comments, you need to log in
BEM: Can parent block elements be child block elements?
Let's say we have a form:
<form class="filter-form" action="">
<fieldset class="filter-form__item sort">
<legend class="filter-form__title">
Сортировка:
</legend>
<div class="filter-form__field filter-form__field--arr-down">
<select class="sort__select" name="sort">
<option value="">some text</option>
<option value="">some text</option>
<option value="">some text</option>
<option value=""> some text</option>
</select>
<!-- <i class=""></i> -->
</div>
</fieldset>
<fieldset class="filter-form__item price-range">
<legend class="filter-form__title">
Цена:
<span class="price-range__label">
<output class="price-range__lower-cost" name="lower-cost">500 руб.</output> –
<output class="price-range__upper-cost" name="upper-cost">1000 руб.</output>
</span>
</legend>
<div class="filter-form__field price-range__slider">
</div>
</fieldset>
</form>
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