css checkbox size code example

Example 1: css resize checkbox

input[type=checkbox] {
    transform: scale(1.5);
}

Example 2: input checkbox size css

input[type=checkbox] {
    transform: scale(1.5);
}
<label><input type="checkbox"> Test</label>

Example 3: css percent scale checkbox

// to scale checkboxes with the rest of the page use this:
//Note, use width percent, height auto and the scale command inside another div as a ref
<div style="width:100%; height:auto;">
	<input type="checkbox" style="width:20%; height:auto; transform: scale(2.5);">
</div>

Example 4: update checkbox size css

input./*checkbox class name*/ {
  width: /*preferred width*/;
  height: /*preferred height*/;
}

Tags:

C Example