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