让input[type="file"]透明度为零,然后写了个上传按钮样式,但是鼠标移上去不变小手,我设置了cursor:pointer;后在非Ie浏览器里有效,其他浏览器里没有效果,怎么办?
ringa_lee2017-04-17 11:07:45
There seems to be no solution, and please use the search keyword "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
ringa_lee2017-04-17 11:07:45
Can you try this?
ie just set font-size to a larger font
The font-size under chrome can be 0