小编lem*_*voj的帖子

有没有办法将输入类型“文件”单击图标

有没有什么方法可以将 input type='file' 放在 svg Icon 上,我在下面的代码示例中已经有了下载。我正在使用 Tailwind CSS。

 <td click.delegate="getTenantAgentLicence(agent.agentId)" class="p-6 pb-10 text-left block md:table-cell">
    <!-- <input type="file"/> -->
 <span class="inline-block md:hidden font-bold">Download</span>
    <a class="ml-2 cursor-pointer">
      <img class="h-6 w-6" src="/images/download1.svg">
    </a>
 </td>
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

icons svg input tailwind-css

0
推荐指数
1
解决办法
2358
查看次数

标签 统计

icons ×1

input ×1

svg ×1

tailwind-css ×1