As a custom input file with download 4

I want to do this in webpack bootstrap 4 env:

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

File browser

<label class="custom-file"> <input type="file" id="file" class="custom-file-input"> <span class="custom-file-control"></span> </label> 

How to override the label " and "

+6
source share
1 answer

These values ​​are taken from CSS:

 .custom-file-control:lang(en)::after { content: "Choose file..."; } .custom-file-control:lang(en)::before { content: "Browse"; } 
+6
source

All Articles