css3 - <input type=file>这个标签怎么让浏览按钮上出现小手的标志。
PHP中文网
PHP中文网 2017-04-17 11:05:45
0
2
859

让input[type="file"]透明度为零,然后写了个上传按钮样式,但是鼠标移上去不变小手,我设置了cursor:pointer;后在非Ie浏览器里有效,其他浏览器里没有效果,怎么办?

PHP中文网
PHP中文网

认证高级PHP讲师

Antworte allen(2)
左手右手慢动作

似乎无解的说,以及,请善用搜索,关键词"input file change cursor"。

cc: http://stackoverflow.com/questions/1537223/change-cursor-type-on-input-type-file
cc: http://stackoverflow.com/questions/7155381/css-how-make-the-cursor-to-become-a-pointer-on-the-input-file

左手右手慢动作

可以试试这样成不

ie就font-size 设置个大点的字体

chrome下边可以font-size为0

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!