P粉5503233382023-08-31 17:15:13
Use group
<li class="text-gray-900 cursor-pointer select-none p-4 text-sm group" id="listbox-option-0" role="option" > <button class="flex flex-col"> <div class="flex justify-"> <p class="font-normal group-hover:text-white">已发布</p> <span class="text-black"> <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" > <path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd" /> </svg> </span> </div> <p class="text-gray-500 mt-2"> 任何拥有链接的人都可以查看此职位发布信息。 </p> </button> </li>