<label class="switch"> <input type="checkbox"> <span class="slider"></span> </label>
.switch { position: relative; width: 55px; height: 15px; } .switch input { opacity: 0; width: 0; height: 0; }