is now part of Shuffle™. The new editor includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.
Switch to Shuffle →

Bootstrap class: .custom-file

<div class="custom-file">
  <input type="file" class="custom-file-input" id="customFile">
  <label class="custom-file-label" for="customFile">Choose file</label>
</div>

Preview

Tips 💡

Sass source

/* _custom-forms.scss:240 */
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: $custom-file-height;
  margin-bottom: 0;
}

Uses variables

Code copied to the clipboard.

Copying failed

/* _custom-forms.scss:240 */
$custom-file-height

More in Bootstrap Custom Forms