<div class="toggle-switch"> <label class="switch-label"> <input type="checkbox" class="checkbox"> <span class="slider"></span> </label> </div>
.toggle-switch { position: relative; width: 100px; height: 50px; --light: #d8dbe0; --dark: #28292c; --link: rgb(27, 129, 112); --link-hover: rgb(24, 94, 82); } .switch-label { position: absolute;