Input
Classes Information
ClassName | Description |
---|---|
input | Base Class |
input-primary | Set primary color |
input-secondary | Set secondary color |
input-success | Set success color |
input-error | Set error color |
input-warning | Set warning color |
input-ghost | Transparent background |
input-ghost-primary | Transparent background with border hover primary |
input-ghost-secondary | Transparent background with border hover secondary |
input-ghost-success | Transparent background with border hover success |
input-ghost-error | Transparent background with border hover error |
input-ghost-warning | Transparent background with border hover warning |
input-rounded | Set full rounded |
input-block | Make input takes full width |
input-sm | Set small size |
input-lg | Set large size |
Basic Usage
Example Code
html
<input class="input" placeholder="basic" />
Sizes
Example Code
html
<input class="input-sm input" placeholder="Small" />
<input class="input" placeholder="Default" />
<input class="input-lg input" placeholder="Large" />
Colors
Example Code
html
<input class="input input-primary" placeholder="Primary" />
<input class="input input-secondary" placeholder="Secondary" />
<input class="input input-success" placeholder="Success" />
<input class="input input-error" placeholder="Error" />
<input class="input input-warning" placeholder="Warning" />
Ghost
Example Code
html
<input class="input-ghost input" placeholder="Ghost" />
<input class="input-ghost-primary input" placeholder="Primary" />
<input class="input-ghost-secondary input" placeholder="Secondary" />
<input class="input-ghost-success input" placeholder="Success" />
<input class="input-ghost-warning input" placeholder="Warning" />
<input class="input-ghost-error input" placeholder="Error" />
Rounded
Example Code
html
<input class="input-rounded input" placeholder="Rounded" />
Block
Example Code
html
<input class="input-block input" placeholder="Block" />
Disabled
Example COde
html
<input class="input" placeholder="Disabled" disabled />