Form

Basic styling of input elements.

Basically a clone of basscss/addons/forms

@mixin substrate-form-label()

Adds label-styling to an element.

Example

scss
label {
  @include substrate-form-label;
}

@mixin substrate-form-input()

Adds styling for an interactive input control, like a text input field.

Example

scss
input[type=text] {
  @include substrate-form-input;
}

@mixin substrate-form-select()

Makes the element look like a select control.

Example

scss
select {
  @include substrate-form-select;
}

@mixin substrate-form-textarea()

Makes the element look like a text area.

Example

scss
textarea {
  @include substrate-form-textarea;
}