Is it possible to set the size of a checkbox using CSS or HTML across browsers?
width
and size
work in IE6+, but not with Firefox, where the checkbox stays 16×16 even if I set a smaller size.
Is it possible to set the size of a checkbox using CSS or HTML across browsers?
width
and size
work in IE6+, but not with Firefox, where the checkbox stays 16×16 even if I set a smaller size.
Working solution for all modern browsers.
input[type=checkbox] {
transform: scale(1.5);
}
<label><input type="checkbox"> Test</label>
Compatibility:
Appearance: