如何在 IE 中创建方形复选框?
我使用下面的代码来确保它们在其他浏览器中是正方形的,但我还没有找到适合 IE 的好的解决方案。
input[type="radio"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
-ms-appearance: checkbox;
-o-appearance: checkbox;
}
谢谢。
最佳答案
尝试将类型从单选框更改为复选框。
input[type="checkbox"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
-ms-appearance: checkbox;
-o-appearance: checkbox;
}
关于html - 如何在 IE 中创建方形复选框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19394811/