aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2018-11-13 07:30:17 +0100
committerXhmikosR <[email protected]>2018-11-13 08:30:17 +0200
commit696c4078d1318ec28ddada227449a4acaf52dee7 (patch)
tree9f713974e0cbc97b94af3da7e7cec6f4b6251635 /scss
parentdafb498f75afe2552b8603ac59fe855b488a97e8 (diff)
downloadbootstrap-696c4078d1318ec28ddada227449a4acaf52dee7.tar.xz
bootstrap-696c4078d1318ec28ddada227449a4acaf52dee7.zip
Customize browse text of the custom file input with HTML (#27651)
Diffstat (limited to 'scss')
-rw-r--r--scss/_custom-forms.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index 9088662fd..e999daf0c 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -276,6 +276,10 @@
content: $value;
}
}
+
+ ~ .custom-file-label[data-browse]::after {
+ content: attr(data-browse);
+ }
}
.custom-file-label {