<label class="switch"> <input type="checkbox" class="input__check"> <span class="slider"></span> </label>
.switch { font-size: 17px; position: relative; display: inline-block; width: 3.5em; height: 2em; transform-style: preserve-3d; perspective: 500px; animation: toggle__animation 3s infinite; } .switch::before {