<input type="checkbox" id="checkboxInput"> <label for="checkboxInput" class="toggleSwitch"> </label>
#checkboxInput { display: none; } .toggleSwitch { display: flex; align-items: center; justify-content: center; position: relative; width: 50px; height: 30px; background-color: rgb(82, 82, 82);