<label class="toggle-switch"> <input type="checkbox"> <span class="toggle-switch__slider"></span> </label>
.toggle-switch { display: inline-block; position: relative; width: 60px; height: 34px; } .toggle-switch input { display: none; } .toggle-switch__slider {