<label class="switch"> <input type="checkbox" class="input"> <span class="slider"></span> </label>
.switch { --switch_width: 2em; --switch_height: 1em; --thumb_color: green; --track_color: #e8e8e8; --track_active_color: #888; --outline_color: #000; font-size: 17px; position: relative; display: inline-block; width: var(--switch_width);