css - Make checkbox in chrome look like one in IE -
the checkbox in ie , chrome looks different.
chrome

ie

from above images can see difference. want checkbox in chrome looks same in ie.
i tried webkit-box-shadow , other similar css properties no luck. can please suggest how can achieved.
a simple way add -webkit-appearance: none;. need style checkbox match want. here example:
<input class="checkbox" type="checkbox"> <input class="checkbox" type="checkbox" checked> .checkbox { position: relative; width: 14px; height: 14px; border: 1px solid #111; background: #fff; -webkit-appearance: none; appearance: none; } .checkbox:checked { background: url(http://vignette3.wikia.nocookie.net/roblox/images/5/57/very-basic-checkmark-icon.png/revision/latest?cb=20131125154354) no-repeat center center; background-size: 100%; }
Comments
Post a Comment