So when a checkbox is checked, and you are targeting the label immediately after it: input[type=checkbox] + label { color: #ccc; font-style: italic; } input[type=checkbox]:checked + label { color: #f00; font-style: normal; } For example, set the width and padding as follows. This effect gives a new look to the checkbox. Get certifiedby completinga course today! Write CSS OR LESS and hit save.