Answers for "css checkbox customize checked"

CSS
3

checkbox input in css

//all checkbox
input[type="checkbox"]{
  box-shadow: 0 0 0 3px hotpink;
}

// all checked checkbox
input[type="checkbox"]:checked {
  box-shadow: 0 0 0 3px hotpink;
}
Posted by: Guest on November-18-2020
1

custom checkbox with image css

<div>Check me!</div>
<input id="trigger" type="checkbox">
<label for="trigger" class="checker"></label>
Posted by: Guest on May-07-2020

Browse Popular Code Answers by Language