search

Home  >  Q&A  >  body text

css3 - <input type=file>这个标签怎么让浏览按钮上出现小手的标志。

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

PHP中文网PHP中文网2782 days ago915

reply all(2)I'll reply

  • ringa_lee

    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

    reply
    0
  • ringa_lee

    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

    reply
    0
  • Cancelreply