在 firefox 中,它看起来像一个文本字段,您可以单击它,我只需要一个像 safari 渲染一样的按钮。有没有办法不显示在 firefox 中查找文件上传的文本字段
最佳答案
之前问过很多次:
- > How can I style a file input field in Firefox?
- > Styling an input type="file" button
- > How to style "input file" with CSS3 / Javascript?
- > https://stackoverflow.com/questions/3984815/jquery-best-way-to-style-a-input-file-tag
- > Can we change <input type="file"> style?
- > Style of input=File as a button
关于html - 如何设置文件上传的样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4441341/