Bootstrap CSS Classes

Bootstrap CSS 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

Are you tired of writing HTML by hand?

CSS source

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

More Bootstrap CSS classes in Custom Forms category

© 2024 Shuffle. All rights reserved.