<div class="toggle-switch">
  <input class="toggle-input" id="toggle" type="checkbox">
  <label class="toggle-label" for="toggle"></label>
</div>
<style>
/* From Uiverse.io by ozgeozkaraa01 - Tags: switch, toggle switch, 3d switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-input {
  display: none;
}

.toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 34px;
  border-radius: 17px;
  background-color: #ccc;
  cur