Toggle-switches | Na3ar 17 evil dragon 24

Toggle-switchesevil dragon1 个文件更新于 2026-04-07
html公开前 25 行,完整代码需登录
<div class="container">
  <label class="label">
    <input class="input" type="checkbox" />
    <span class="circle"
      ><svg
        viewBox="0 0 24 24"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        aria-hidden="true"
        class="icon"
      >
        <path
          d="M12 19V5m0 14-4-4m4 4 4-4"
          stroke-width="1.5"
          stroke-linejoin="round"
          stroke-linecap="round"
          stroke="currentColor"
        ></path>
      </svg>
      <div class="square"></div>
    </span>
    <p class="title">Download</p>
    <p class="title">Open</p>
  </label>
</div>

登录后可以查看完整源码、在线编辑并实时预览运行效果。