css select labels for checked checkbox

180

input[type="checkbox"]:checked + label  { color:green; }
/* input:checked + label  { color:green; } /* short version */

Comments

Submit
0 Comments