Answer the question
In order to leave comments, you need to log in
Have I written the html and css in BEM correctly?
Did I write the BEM markup and styles correctly ?!
There are just too many nested ul li 's that confuse me.
Click
Answer the question
In order to leave comments, you need to log in
<div id="app" class="app">
<ul class="list">
<li class="question-block">
<h3 class="question-block__header">JavaScript это тоже самое что и Java?</h3>
<ul class="question-answers-list">
<li class="question-item">
<label class="question-item__label">Нет
<input data-true type="radio" name="radio1" class="question-item__input question-item__input_hidden">
<span class="question-item__radiobox"></span>
</label>
</li>
<li class="question-item">
<label class="question-item__label">Да
<input type="radio" name="radio1" class="question-item__input question-item__input_hidden">
<span class="question-item__radiobox"></span>
</label>
</li>
.question-block {
&__header {
}
}
.question-answers-list {
/*отдельный блок*/
}
.question-item {
&__input {
&_hidden {
}
}
&__radiobox {
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question