<label> <input type="checkbox" class="toggle-checkbox"> <div class="toggle-switch"></div> </label>
.toggle-checkbox { -webkit-appearance: none; -moz-appearance: none; appearance: none; display: none; } .toggle-switch { background-color: gray; width: 78px; height: 32px; border-radius: 16px;