css3实现自定义checkbox样式(仿elementui)
<label class="zdy-label-checkbox ">
<input type="checkbox" />
<div class="show-box"></div>
</label>
/* 伪元素法 的checkbox*/
label.zdy-label-checkbox {
position: relative;
margin-top: 5p
原创
2021-08-12 15:53:04 ·
380 阅读 ·
0 评论