menu

开关是用于二进制状态(如开/关)的特殊复选框



  <!-- 开关 -->
  <div class="switch">
    <label>
    关
      <input type="checkbox">
      <span class="lever"></span>
      开
    </label>
  </div>

  <!-- Disabled Switch -->
  <div class="switch">
    <label>
    关
      <input disabled type="checkbox">
      <span class="lever"></span>
      开
    </label>
  </div>