You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going to pass on this given we have a custom file input and I don't think further divorcing it from browser default styling is a good idea for us to implement. I'd rather let folks set that kind of custom styling for themselves. Thanks though!
<input type="file" />
has always been very hard to style.I've seen that there is a
.custom-file
but this shows the filepath.https://v4-alpha.getbootstrap.com/components/forms/#file-browser
What if you want the same look and feel as a button?
My proposal is to be able to style a file input as a btn.
What do you guys think?
Proof of concept
Check out this plunkr
https://plnkr.co/edit/feW4kk?p=preview
I've tested the button with successful results in:
Chrome 55
Safari 10
Firefox 49
IE Edge
IE 11
IE 10
The code if you don't want to look at the plunkr
The text was updated successfully, but these errors were encountered: