1.<
label
class="checkBox"><
input
type="checkbox">全选</
label
>;
input[type='checkbox']{ width: 20px; height: 20px; background-color: #fff; -webkit-appearance:none; border: 1px solid #008aff; border-radius: 2px; outline: none; }
.checkBox input[type=checkbox]:checked{ border: 1px solid #008aff; background: url("${ctx}/IMG/checkbox_icon.png")no-repeat center; }