如何创建我当前拥有的复选框,在所有其他浏览器中显示与Chrome中相同?

时间:2015-10-14 19:05:03

标签: css browser checkbox

目前这是复选框的样式:

input[type="checkbox"] {
    transform: scale(2);
    -webkit-transform: scale(2);
    -webkit-appearance: checkbox;
    border-radius:0px;
}     

但它们并不匹配所有浏览器。

1 个答案:

答案 0 :(得分:1)

这是我刚开始时遇到的问题。不同的浏览器和操作系统往往以不同方式呈现复选框。如果你想获得通用外观,我建议使用皮肤。我建议使用名为iCheck的jquery插件。