<label><input type="checkbox" />多选1</label>
<label><input type="checkbox" />多选2</label>
<label><input type="radio" name="test"/>单选1</label>
<label><input type="radio" name="test"/>单选2</label>
label {
display: flex;
align-items: center;
}
input[type=checkbox],input[type=radio] {
-webkit-appearance: none;
appearance: none;
outline: none;
width: 14px;
height: 14px;
cursor: pointer;
vertical-align: center;
background: #fff;
border: 1px solid #A40000;
position: relative;
}
input[type=checkbox]:checked::after {
content: "\2713";
display: block;
position: absolute;
top: 0px;
left: 0px;
right: 0;
bottom: 0;
width: 12px;
height: 12px;
line-height: 12px;
color: red;
font-size: 12px;
}
input[type=radio]:checked::after {
content: "";
display: block;
position: absolute;
top: 2px;
left: 2px;
right: 0;
bottom: 0;
width: 8px;
height: 8px;
background-color: red;
}
input[type=radio], input[type=radio]:checked::after {
border-radius: 50%;
}