I have tried to make own style of radio button. Everything works well in Chrome, but in IE and Firefox there are still some display errors.
Here is the code:
HTML
<input type="radio" id ="light" name="choice" value="none""><label for="light">Light me</label>
CSS
input[type="radio"] {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background:url('http://refundfx.com.au/uploads/image/checkbox_empty.png') center center no-repeat;
background-size: 2em;
width: 2em;
height: 2em;
cursor: pointer;
vertical-align: middle;
}?
What is wrong?
Thanks a lot for answers.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…