css select labels for checked checkbox

177

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

Comments

Submit
0 Comments