<div class="switch-container"> <label class="switch"> <input type="checkbox" /> <span class="Knob_1"></span> </label> </div>
.switch-container { background-color: #3b3b3bfd; display: flex; justify-content: center; align-items: center; min-height: 10%; border-radius: 50px; padding: 20px; } .switch { position: relative;