<label class="switch"> <input class="checkbox" type="checkbox" value="on" /> <svg class="svg" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" > <ellipse class="svg-dot" cx="6"
.switch { position: relative; width: 5.5em; height: 5.5em; } .checkbox, .slider, .svg { position: absolute; top: 0; left: 0;