diff options
| author | Martijn Cuppens <[email protected]> | 2018-11-13 07:30:17 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-11-13 08:30:17 +0200 |
| commit | 696c4078d1318ec28ddada227449a4acaf52dee7 (patch) | |
| tree | 9f713974e0cbc97b94af3da7e7cec6f4b6251635 /scss | |
| parent | dafb498f75afe2552b8603ac59fe855b488a97e8 (diff) | |
| download | bootstrap-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.scss | 4 |
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 { |
