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