<div class="checkbox"> <input id="checkbox1" class="checkbox__input" type="checkbox"> <label for="checkbox1" class="checkbox__label"> <span class="checkbox__custom"></span> Uiverse </label> </div>
.checkbox { display: inline-block; position: relative; cursor: pointer; } .checkbox__input { position: absolute; opacity: 0; width: 0; height: 0; }