Styling - CSS
Colors
Color Palette
| primary | success | info | warning | danger | secondary | dark | light | white | transparent |
|---|
| blue | indigo | purple | pink | red | orange | yellow | green | cyan | teal | gray | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| blue | indigo | purple | pink | red | orange | yellow | green | cyan | teal | gray | |
| 100 | |||||||||||
| 200 | |||||||||||
| 300 | |||||||||||
| 400 | |||||||||||
| 500 | |||||||||||
| 600 | |||||||||||
| 700 | |||||||||||
| 800 | |||||||||||
| 900 |
@color
Color Theme
@bg-color
Background Color
@text-color
Text Color
@outline
Outline Color
@color-hover
Color on Mouse over
@color-active
Color when Active
@color-focus
Color when Focus
@color-disabled
Color when Disabled
@bg-opacity
Background Color Opacity [0;1] #.#
@text-opacity
Text Color Opacity [0;1] #.#
Text
Borders
| Name | DataType |
|---|---|
| @border | true | false | 0 | 1 | 2 | 3 | 4 | 5 |
| @border-top | true | false | 0 | 1 | 2 | 3 | 4 | 5 |
| @border-bottom | true | false | 0 | 1 | 2 | 3 | 4 | 5 |
| @border-left | true | false | 0 | 1 | 2 | 3 | 4 | 5 |
| @border-right | true | false | 0 | 1 | 2 | 3 | 4 | 5 |
| @border-color | |
| @rounded | |
| @border-opacity |
Spacing
| Name | DataType |
|---|
| Name | DataType |
|---|---|
| @gap | 0 | 1 | 2 | 3 | 4 | 5 |
| @row-gap | 0 | 1 | 2 | 3 | 4 | 5 |
| @column-gap | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @padding | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-top | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-bottom | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-left | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-right | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @padding-phone | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-phone-top | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-phone-bottom | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-phone-left | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-phone-right | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-phone-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-phone-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @padding-tablet | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-tablet-top | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-tablet-bottom | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-tablet-left | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-tablet-right | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-tablet-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-tablet-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @padding-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-top-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-bottom-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-left-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-right-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-horizontal-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-vertical-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @padding-desktop | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-desktop-top | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-desktop-bottom | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-desktop-left | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-desktop-right | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-desktop-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-desktop-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @padding-cinema | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-cinema-top | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-cinema-bottom | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-cinema-left | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-cinema-right | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-cinema-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @padding-cinema-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @gutter | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @gutter-phone | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-phone-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-phone-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @gutter-tablet | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-tablet-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-tablet-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @gutter-laptop | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-laptop-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-laptop-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @gutter-desktop | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-desktop-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-desktop-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @gutter-cinema | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-cinema-horizontal | 0 | 1 | 2 | 3 | 4 | 5 |
| @gutter-cinema-vertical | 0 | 1 | 2 | 3 | 4 | 5 |
| Name | DataType |
|---|---|
| @margin | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-top | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-bottom | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-left | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-right | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-horizontal | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-vertical | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| Name | DataType |
|---|---|
| @margin-phone | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-phone-top | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-phone-bottom | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-phone-left | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-phone-right | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-phone-horizontal | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-phone-vertical | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| Name | DataType |
|---|---|
| @margin-tablet | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--tablet-top | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--tablet-bottom | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--tablet-left | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--tablet-right | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--tablet-horizontal | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--tablet-vertical | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| Name | DataType |
|---|---|
| @margin-laptop | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--laptop-top | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--laptop-bottom | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--laptop-left | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--laptop-right | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--laptop-horizontal | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin--laptop-vertical | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| Name | DataType |
|---|---|
| @margin-desktop | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-desktop-top | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-desktop-bottom | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-desktop-left | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-desktop-right | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-desktop-horizontal | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-desktop-vertical | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| Name | DataType |
|---|---|
| @margin-cinema | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-cinema-top | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-cinema-bottom | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-cinema-left | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-cinema-right | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-cinema-horizontal | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
| @margin-cinema-vertical | 5 | 4 | 3 | 2 | 1 | 0 | -1 | -2 | -3 | -4 | -5 | auto |
Alignment
| Name | DataType |
|---|---|
| @pull | |
| @align | |
| @valign | |
| @valign-items |
| Name | DataType |
|---|---|
| @align | |
| @align-content | |
| @align-items | |
| @valign | |
| @valign-content | |
| @valign-items | |
| @center |
Grid
| Name | DataType |
|---|---|
| @col | 0-12 | auto | * |
| @watch | 0-12 | auto | * |
| @phone | 0-12 | auto | * |
| @tablet | 0-12 | auto | * |
| @laptop | 0-12 | auto | * |
| @desktop | 0-12 | auto | * |
| @cinema | 0-12 | auto | * |
| 0-12 | auto | * | |
| @col-offset | 0-12 | auto | * |
| @watch-offset | 0-12 | auto | * |
| @phone-offset | 0-12 | auto | * |
| @tablet-offset | 0-12 | auto | * |
| @laptop-offset | 0-12 | auto | * |
| @desktop-offset | 0-12 | auto | * |
| @cinema-offset | 0-12 | auto | * |
| @print-offset | 0-12 | auto | * |
| @col-pull | 0-12 | auto | * |
| @watch-pull | 0-12 | auto | * |
| @phone-pull | 0-12 | auto | * |
| @tablet-pull | 0-12 | auto | * |
| @laptop-pull | 0-12 | auto | * |
| @desktop-pull | 0-12 | auto | * |
| @cinema-pull | 0-12 | auto | * |
| @col-push | 0-12 | auto | * |
| @watch-push | 0-12 | auto | * |
| @phone-push | 0-12 | auto | * |
| @tablet-push | 0-12 | auto | * |
| @laptop-push | 0-12 | auto | * |
| @desktop-push | 0-12 | auto | * |
| @cinema-push | 0-12 | auto | * |
| @col-position | 0-12 | auto | * |
| @watch-position | 0-12 | auto | * |
| @phone-position | 0-12 | auto | * |
| @tablet-position | 0-12 | auto | * |
| @laptop-position | 0-12 | auto | * |
| @desktop-position | 0-12 | auto | * |
| @cinema-position | 0-12 | auto | * |
| @watch-hidden | xs:boolean |
| @phone-hidden | xs:boolean |
| @tablet-hidden | xs:boolean |
| @laptop-hidden | xs:boolean |
| @desktop-hidden | xs:boolean |
| @cinema-hidden | xs:boolean |
| Name | DataType |
|---|---|
| @col | 0-12 | auto | * |
| @watch | 0-12 | auto | * |
| @phone | 0-12 | auto | * |
| @tablet | 0-12 | auto | * |
| @laptop | 0-12 | auto | * |
| @desktop | 0-12 | auto | * |
| @cinema | 0-12 | auto | * |
| 0-12 | auto | * |
| Name | DataType |
|---|---|
| @watch | 0-12 | auto | * |
| @phone | 0-12 | auto | * |
| @tablet | 0-12 | auto | * |
| @laptop | 0-12 | auto | * |
| @desktop | 0-12 | auto | * |
| @cinema | 0-12 | auto | * |
| Name | DataType |
|---|---|
| @scroll | xs:string |
Shadow
Position
Overflow
Float
Height & Width
Size
Display
Styles
Use can easily add both responsive and conditional styling.
<?xml version="1.0" encoding="UTF-8"?>
<bs:style device="desktop" role="3" xmlns:bs="http://www.bootstrap-cms.org"/>
Class
Use can easily add both responsive and conditional classes.
<?xml version="1.0" encoding="UTF-8"?>
<bs:class device="laptop" role="1" xmlns:bs="http://www.bootstrap-cms.org"/>
Scroll
Use can easily add both responsive and conditional Scroll.
<?xml version="1.0" encoding="UTF-8"?>
<bs:scroll device="laptop" role="2" xmlns:bs="http://www.bootstrap-cms.org"></bs:scroll>
Animation
Use can easily add both responsive and conditional Animations.
<?xml version="1.0" encoding="UTF-8"?>
<bs:animate device="tablet" role="5" xmlns:bs="http://www.bootstrap-cms.org"></bs:animate>
Responsive
Use can easily add responsive styling with Bootstrap classes.
Default Styling
Bootstrap User Guide
The components are having the default styling from the Bootstrap user guide.
However, it it easily overwritten.