<label class="switch"> <input type="checkbox"> <span class="slider"></span> </label>
.switch { font-size: 17px; position: relative; display: inline-block; width: 62px; height: 35px; } .switch input { opacity: 1; width: 0; height: 0;