Radio-buttons | asgardOP great badger 21

Radio-buttonsgreat badger1 个文件更新于 2026-04-06
html公开前 25 行,完整代码需登录
<div id="navbody">
  <form action="#">
    <ul class="ul">
      <input checked="" name="rad" class="radio" id="choose1" type="radio" />
      <label for="choose1">
        <li class="li">
          <svg
            viewBox="0 0 24 24"
            fill="none"
            height="24"
            width="24"
            xmlns="http://www.w3.org/2000/svg"
            aria-hidden="true"
            class="svg w-6 h-6 text-gray-800 dark:text-white"
          >
            <path
              d="m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5"
              stroke-width="2"
              stroke-linejoin="round"
              stroke-linecap="round"
              stroke="currentColor"
            ></path>
          </svg>
        </li>
      </label>

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