<div class="toggle-switcher"> <input type="checkbox" id="toggle-switch" class="toggle-input"> <label for="toggle-switch" class="toggle-label"></label> </div>
.toggle-switcher { width: 50px; height: 25px; position: relative; margin: 20px auto; background: #000; border-radius: 50px; } .toggle-input { display: none; }