表单 – 如何使用bootstrap自定义输入文件4

表单 – 如何使用bootstrap自定义输入文件4,第1张

概述我想在webpack bootstrap 4 env中这样做: http://v4-alpha.getbootstrap.com/components/forms/#custom-forms 文件浏览器 <label class="custom-file"> <input type="file" id="file" class="custom-file-input"> <span clas 我想在webpack bootstrap 4 env中这样做:

http://v4-alpha.getbootstrap.com/components/forms/#custom-forms

文件浏览器

<label >  <input type="file" ID="file" >  <span ></span></label>

如何覆盖“占位符”和“按钮标签”值

解决方法 这些值来自CSS:

.custom-file-control:lang(en)::after {  content: "Choose file...";}.custom-file-control:lang(en)::before {  content: "browse";}
总结

以上是内存溢出为你收集整理的表单 – 如何使用bootstrap自定义输入文件4全部内容,希望文章能够帮你解决表单 – 如何使用bootstrap自定义输入文件4所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1088049.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-27
下一篇2022-05-27

发表评论

登录后才能评论

评论列表(0条)

    保存