css - 如何使用 CSS 设置 html 输入文件类型的样式

标签 css

如何使用 CSS 删除输入类型=文件部分的文本字段并仅保留浏览按钮?

最佳答案

这很棘手,但基于此:http://www.quirksmode.org/dom/inputfile.html

我能够完成你所要求的..

关于css - 如何使用 CSS 设置 html 输入文件类型的样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5954644/

相关文章:

div 中的 css div 高度不正确

javascript - 根据 ReactJS 中的当前状态在单击时显示/隐藏组件

css - bootstrap 4 在中心对齐按钮

css - 增加 jQuery Mobile 中数据图标 ="delete"的点击区域(具有相同的图像大小)?

html - 为什么 id 样式在 Safari 中的 <a> 标签上不起作用?

没有固定宽度的CSS水平子菜单

css - 没有报告 CSS 错误,但 border-image-source 和 border-image-slice 不产生任何边框图像

html - div里面如何调用css中的class?

html - Z-index in position fixed under position fixed 元素

html - 使用垂直对齐 css 垂直对齐文本