首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

使inputtype=“file”的浏览旋钮透明隐藏的方法

2013-12-15 
使inputtype“file”的浏览按钮透明隐藏的方法input typefile namelicense styleopacity: 0?op

使inputtype=“file”的浏览按钮透明隐藏的方法

<input type="file" name="license" style="opacity: 0;">

?

opacity: 0是让input type=”file”全透明,这样用户看不到input type=”file”。层级在文本框和按钮之上。这样用户在点击按钮的时侯实际上点击的input type=”file”

热点排行