<input class="togglesw" type="checkbox">
.togglesw { --s: 50px; height: calc(var(--s) + var(--s)/5); width: auto; aspect-ratio: 2.25; border-radius: var(--s); margin: calc(var(--s)/2); display: grid; cursor: pointer; background-color: #ff7a7a;