<input class="switch" type="checkbox" checked="true">
.switch { position: relative; height: 1.5rem; width: 3rem; cursor: pointer; appearance: none; -webkit-appearance: none; border-radius: 9999px; background-color: rgba(100, 116, 139, 0.377); transition: all .3s ease; }