/* 清除复选框样式 */
input[type=checkbox] {
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
cursor: pointer;
margin: 0;
}
//设置自定义图片
input[type=checkbox] {
background: url("../images/Unchecked.png") no-repeat center;
}
input[type=checkbox]:checked {
background: url("../images/checked.png") no-repeat center;
}
复选框清除默认样式
最新推荐文章于 2023-09-15 10:11:55 发布