So I need to style a checkbox using css. My html code is as following:
<label>
<input type="checkbox" name="checkbox-2" value="something">
<span class="checkbox-item">Something</span>
</label>
I can not do the usual method of hiding checkbox due to the fact that label is around the whole element and span is not empty.
Aucun commentaire:
Enregistrer un commentaire