component

Label

A simple form label.

Floating type

You can easily change the type of label to make it floating by adding the has-floating-label modiffier to the control partent class and placing the label after the input.

Variables

  :root {
    --label-font-size: var(--base-font-size);
    --label-color:  var(--input-color);
    --label-space: .5em;
    --label-transition: .4s ease;
  }