input kotak centang dan sembunyikan kotak centang
<label>
<input type='checkbox' hidden/>
<span>check</span>
<label>
Run code snippet
Clear Caiman
<label>
<input type='checkbox' hidden/>
<span>check</span>
<label>
Run code snippet
label{ cursor:pointer; user-select:none; }
input:checked + span::before {
content: 'un';
}
label{ cursor:pointer; user-select:none; }
input:checked + span::before {
content: 'un';
}
label{ cursor:pointer; user-select:none; }
input:checked + span::before {
content: 'un';
}