会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小虾米吖~
博客园
首页
新随笔
联系
管理
2023年3月31日
原生input file选择文件样式美化成按钮
摘要: 外加一个a标签,内部的inout直接设置input透明度0,这样input也能点击; 如图为两种情况不同写法的效果截图 <a href="javascript:;" class="file">自定义上传 <input type="file" name="" id=""> </a> 样式:<style
阅读全文
posted @ 2023-03-31 09:42 小虾米吖~
阅读(235)
评论(0)
推荐(0)
编辑