I've got the following checkbox setup
ul.list li label {
font-weight: 300;
}
<ul class="list">
<li>
<label class="selectit">
<input type="checkbox"/>
"Blah"
</label>
</li>
</ul>
I'm trying to turn the label bold when the checkbox is checked.
But my label text doesn't have any html tag around it so the usual solution :checked + span
or :checked + label
doesn't work in this case.
How could I make the label bold in this case? Is it possible with CSS only?