Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css checkbox':checked change color

<label for="checkbox1" class="checkbox">
  <input id="checkbox1" type="checkbox" role="checkbox" />
  <span class="custom">Checkbox</span>
</label>


input[type="checkbox"]#checkbox1:checked + span {
      border-color: red;
    background-color:red;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #change #color
ADD COMMENT
Topic
Name
9+8 =