<label class="alert"> Default </label>
<label class="alert primary"> Primary</label>
<label class="alert warning"> Warning </label>
<label class="alert danger"> Danger </label>
<label class="alert info"> Info </label>
<label class="alert grey"> Grey </label>
<label class="alert light"> Light </label>
<label class="alert white"> White </label>
<label class="alert black"> Black </label>
<label class="alert dark"> Dark </label>
<button class="btn"> Default </button>
<button class="btn primary"> Primary</button>
<button class="btn warning"> Warning </button>
<button class="btn danger"> Danger </button>
<button class="btn info"> Info </button>
<button class="btn grey"> Grey </button>
<button class="btn light"> Light </button>
<button class="btn white"> White </button>
<button class="btn black"> Black </button>
<button class="btn dark"> Dark </button>
<button class="btn dark disabled="disabled"> Disabled </button>
<a href="#" class="btn"> Link Button </a>
<button class="btn small"> Small </button>
<button class="btn"> Default </button>
<button class="btn large"> Large </button>
<button class="btn xlarge"> XLarge </button>
<button class="btn jumbo"> Jumbo </button>
<button class="btn block"> default block </button>
<button class="btn primary block"> primary block </button>
<p class="text-white bg-primary"> Text going white and background going primary </p>
<div class="container"> Responsive Container </div>
*note, container adds 16px left and right paddings.
<div class="container-full"> Full width container </div>
<div class="container relative"> <div class="top-left">
Content positioning on top left
</div> </div>
<div class="top-left">
Content positioning on top left
</div>
<div class="grid">
<div class="set col-8 sm-12 md-6 lg-6 xl-6 xxl-8">
default 66.6%
small 100%
medium 50%
large 50%
xlarge 66.6%
</div>
<div class="set col-4 sm-12 md-6 lg-6 xl-6 xxl-4">
default 33.3%
small 100%
medium 50%
large 50%
xlarge 33.3%
</div>
</div>
| Class | Description |
|---|---|
| .grid | Container to grid |
| .set | Defines Grid |
| Class | Width |
|---|---|
| .col-1 | 8.333% |
| .col-2 | 16.888% |
| .col-3 | 25% |
| .col-4 | 33.333% |
| ... | ... |
| .col-12 | 100% |
| Class | Width |
|---|---|
| .sm-1 | 8.333% |
| .sm-2 | 16.888% |
| .sm-3 | 25% |
| .sm-4 | 33.333% |
| ... | ... |
| .sm-12 | 100% |
| Class | Width |
|---|---|
| .md-1 | 8.333% |
| .md-2 | 16.888% |
| .md-3 | 25% |
| .md-4 | 33.333% |
| ... | ... |
| .md-12 | 100% |
| Class | Width |
|---|---|
| .lg-1 | 8.333% |
| .lg-2 | 16.888% |
| .lg-3 | 25% |
| .lg-4 | 33.333% |
| ... | ... |
| .lg-12 | 100% |
| Class | Width |
|---|---|
| .xl-1 | 8.333% |
| .xl-2 | 16.888% |
| .xl-3 | 25% |
| .xl-4 | 33.333% |
| ... | ... |
| .xl-12 | 100% |
| Class | Width |
|---|---|
| .xxl-1 | 8.333% |
| .xxl-2 | 16.888% |
| .xxl-3 | 25% |
| .xxl-4 | 33.333% |
| ... | ... |
| .xxl-12 | 100% |
Push in the columns
<div class="grid">
<div class="set off-6 off-md-2 off-lg-4 off-xl-4 off-xxl-6 col-6 col-md-10 col-lg-8 col-xl-8 col-xxl-6">
Content goes here
</div>
</div>
| Class | Margin Left |
|---|---|
| .off-1 | 8.333% |
| .off-2 | 16.666% |
| .off-3 | 33.333% |
| .off-4 | 25% |
| ... | ... |
| .off-12 | 100% |
.off-sm-*.off-md-*
.off-lg-*
.off-xl-*
.off-xxl-*
Use class .input to create basic input
<input class="input">
Add class .full after class .input to create full width input
<input class="input full">
Use class .group to create grouping input
<div class="group">
<label> Username </label>
<input class="input">
</div>
Use classes in the below to change the border colors. See documentation of colors
| Class | Description |
|---|---|
| primary | primary color |
| warning | warning color |
| success | success color |
| danger | danger color |
| ... | ... |
| dark | dark color |
| # | Name | |
|---|---|---|
| 1 | John Doe | john.doe@email.com |
| 2 | Grace Grey | greygrace1@email.com |
| 3 | Natalie Lim | lim.natalie@email.com |
<table class="table">
<tr>
<th> # </th>
<th> Name </th>
<th> Email </th>
</tr>
<tr>
<td> 1 </td>
<td> John Doe </td>
<td> John.Doe@email.com </td>
</tr>
</table>
Just add class .stripped after class .table
| # | Name | |
|---|---|---|
| 1 | John Doe | john.doe@email.com |
| 2 | Grace Grey | greygrace1@email.com |
| 3 | Natalie Lim | lim.natalie@email.com |
Juts add class .bordered after class .table
| # | Name | |
|---|---|---|
| 1 | John Doe | john.doe@email.com |
| 2 | Grace Grey | greygrace1@email.com |
| 3 | Natalie Lim | lim.natalie@email.com |
Just add class .borderless after class .table
| # | Name | |
|---|---|---|
| 1 | John Doe | john.doe@email.com |
| 2 | Grace Grey | greygrace1@email.com |
| 3 | Natalie Lim | lim.natalie@email.com |
Normal List
<ul>
<li> List 1 </li>
<li> List 2 </li>
<li> List 3 </li>
</ul>
Reset List
<ul class="reset">
<li> List 1 </li>
<li> List 2 </li>
<li> List 3 </li>
</ul>
Inline List
<ul class="inline">
<li> List 1 </li>
<li> List 2 </li>
<li> List 3 </li>
</ul>
Text going bold
<p class="bold"> Bold </p>
Text going italic
<p class="italic"> Italic </p>
text going capitalize
<p class="capitalize"> Capitalize </p>
text going underline
<p class="underline"> underline </p>
align left
align center
align right
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<p class="align-left"> alignt left </p>
<p class="align-center"> alignt center </p>
<p class="align-right"> alignt right </p>
<p class="justify"> justify </p>
<p class="fs-xxlarge"> fs-xxlarge </p>
<p class="fs-xlarge"> fs-xlarge </p>
<p class="fs-large"> fs-large </p>
<p class="fs-normal"> fs-normal </p>
<p class="fs-medium"> fs-medium </p>
<p class="fs-small"> fs-small </p>
<div class="block"> Content goes here </div>
<div class="inline"> Content goes here </div>
<div class="inline-block"> Content goes here </div>
<div class="w-100"> Content goes here </div>
<div class="w-75"> Content goes here </div>
<div class="w-50"> Content goes here </div>
<div class="w-25"> Content goes here </div>
Use class .margin-auto to centering object
<div class="static"> Content goes here </div>
<div class="fixed"> Content goes here </div>
<div class="w-50"> Content goes here </relative>
<div class="absolute"> Content goes here </div>
Use class .left to floating left and use class .right to floating right.
Put class .responsive before the content to give bottom scrollbar
Spacer give padding-top and padding-bottom inside the content
| Name | Description |
|---|---|
| spacer-1 | top 16px & bottom 16px |
| spacer-2 | top 32px & bottom 32px |
| spacer-3 | top 64px & bottom 64px |
| spacer-4 | top 128px & bottom 128px |
| spacer-5 | top 192px & bottom 192px |
Base classes of margin & padding
| Class | Description |
|---|---|
| ml-* | Margin Left |
| mr-* | Margin Right |
| mb-* | Margin Bottom |
| mt-* | Margin Top |
| pl-* | padding Left |
| pr-* | padding Right |
| pb-* | padding Bottom |
| pt-* | padding Top |
| no-padding | No all paddings |
| no-margin | No all margins |
Value of margin & padding. Put in after "-" of base classes
| Class | Description |
|---|---|
| small | 4px |
| medium | 8px |
| normal | 16px |
| large | 24px |
| xlarge | 28px |
| 0 | 0px |