.kedao-switch {
  height: 16px;
  margin: 15px;
  display: flex;
}
.kedao-switch label {
  margin-left: 15px;
  color: #999;
  font-size: 12px;
  line-height: 16px;
}
.kedao-switch .inner-switch {
  position: relative;
  width: 32px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: background 0.3s;
}
.kedao-switch .inner-switch.active {
  background-color: #3498db;
}
.kedao-switch .inner-switch.active::before {
  left: 16px;
}
.kedao-switch .inner-switch::before {
  position: absolute;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background-color: #eee;
  content: "";
  transform: scale(1.2);
  transition: 0.3s;
}