Bootstrap CSS Classes

Bootstrap CSS class .form-control-plaintext

<input type="text" readonly class="form-control-plaintext" id="staticEmail" value="email@example.com">

Preview

Are you tired of writing HTML by hand?

CSS source

/* _forms.scss:114 */
.form-control-plaintext {
  display: block;
  width: 100%;
  padding-top: $input-padding-y;
  padding-bottom: $input-padding-y;
  margin-bottom: 0; // match inputs if this class comes on inputs with default margins
  line-height: $input-line-height;
  color: $input-plaintext-color;
  background-color: transparent;
  border: solid transparent;
  border-width: $input-border-width 0;

  &.form-control-sm,
  &.form-control-lg {
    padding-right: 0;
    padding-left: 0;
  }
}

/* _forms.scss:300 */
.form-control-plaintext {
  display: inline-block;
}

More Bootstrap CSS classes in Forms category

© 2024 Shuffle. All rights reserved.