Bootstrap CSS Classes

Bootstrap CSS class .form-control-file

<input type="file" class="form-control-file" id="exampleFormControlFile1">

Preview

Are you tired of writing HTML by hand?

CSS source

/* _forms.scss:71 */
.form-control-file {
  .was-validated &:#{$state},
  &.is-#{$state} {
    ~ .#{$state}-feedback,
    ~ .#{$state}-tooltip {
      display: block;
    }
  }
}

More Bootstrap CSS classes in Forms category

© 2024 Shuffle. All rights reserved.