Bootstrap class: .form-control

<input class="form-control" type="text" placeholder="Default input">


Sass source

/* _forms.scss:7 */
.form-control {
  display: block;
  width: 100%;
  height: $input-height;
  padding: $input-padding-y $input-padding-x;
  font-size: $font-size-base;
  line-height: $input-line-height;
  color: $input-color;
  background-color: $input-bg;
  background-clip: padding-box;
  border: $input-border-width solid $input-border-color;

  // Note: This has no effect on `s in CSS.
  @if $enable-rounded {
    // Manually use the if/else instead of the mixin to account for iOS override
    border-radius: $input-border-radius;
  } @else {
    // Otherwise undo the iOS default
    border-radius: 0;

  @include box-shadow($input-box-shadow);
  @include transition($input-transition);

  // Unstyle the caret on `

© 2018-2019 Bootstrap Shuffle. All rights reserved.