Resize the input type=“file” browse button in firefox?

后端 未结 6 1037
庸人自扰
庸人自扰 2021-02-08 00:19

Is there anyway using CSS or JS that you can resize the input type=\"file\" Browse button in firefox?

I know you cannot change the text of the button but all I need to d

6条回答
  •  抹茶落季
    2021-02-08 01:07

    Styling file input buttons is very limited for security reasons. There are some workarounds, but none are perfect. Check out this post on QuirksMode:

    http://www.quirksmode.org/dom/inputfile.html

提交回复
热议问题