Как настроить входной файл с помощью bootstrap 4

Я хочу сделать это в env webpack bootstrap 4:

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

Файловый браузер

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

Как переопределить значение "placeholder" и "метка кнопки"


person Kery Hu    schedule 17.09.2016    source источник


Ответы (1)


Эти значения взяты из CSS:

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

.custom-file-control:lang(en)::before {
  content: "Browse";
}
person tmg    schedule 17.09.2016