guys, I’m trying to style my box with the label inside it. After checking I want the checkbox to be a lighter blue. But I’m not able to style the after, I don’t know what’s wrong.
Thanks for answering randell!
I just put it the way you explained: input[type=“checkbox”] + label, but the css worked only in the first and last item. Do you have any ideia why this could be happening?
You have spaces in the for attribute value for the two elements, so the label and input elements are not connected. The id and for attributes values must match exactly.