Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css select labels for checked checkbox

input[type="checkbox"]:checked + label  { color:green; }
/* input:checked + label  { color:green; } /* short version */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #select #labels #checked #checkbox
ADD COMMENT
Topic
Name
5+2 =