.question-list .options {
min-width: 240px;
}
Max width property will apply to both( question-list .options ) or not ?
.question-list .options {
min-width: 240px;
}
Max width property will apply to both( question-list .options ) or not ?
max-width property will be applied to an element with class .options
that is inside an element with class .question-list
<div class="question-list"><div class="options">this element has max-width</div></div>
min-width property will be applied to an element with class .options
that is inside an element with class .question-list
<div class="question-list"><div class="options">this element has been targeted</div></div>
In order to target both .question-list
and .options
you should put comma between them:
.question-list, .options {
min-width: 240px;
}