<label class="switch"> <input type="checkbox" checked="" /> <div class="slider"> <div class="circle"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="6" height="6" x="0" y="0"
.switch { --switch-width: 46px; --switch-height: 24px; --switch-bg: rgb(131, 131, 131); --switch-checked-bg: #1676df; --switch-offset: calc((var(--switch-height) - var(--circle-diameter)) / 2); --switch-transition: all 0.2s cubic-bezier(0.27, 0.2, 0.25, 1.51); --circle-diameter: 18px; --circle-bg: #fff; --circle-shadow: 1px 1px 2px rgba(146, 146, 146, 0.45);