如果你有
<div> <input type="checkbox" id="idinput" /> <label for="idinput">My Label</label></div>
你可以做
.check-with-label:checked + .label-for-check { font-weight: bold;}
如果你有
<div> <input type="checkbox" id="idinput" /> <label for="idinput">My Label</label></div>
你可以做
.check-with-label:checked + .label-for-check { font-weight: bold;}