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