I have a HTML checkbox, with a <input type="checkbox">
and a <label>
like this:
I want to style the label according to the check status of the checkbox
element. Is it possible to use pure CSS to do that? How can I do that?
For instance, I want to hide the checkbox dot and use the label style to save some room on the page: