Colors
Can be changed in sass/_variables.sass
.
Find colors
.
Fonts
Can be changed in sass/_variables.sass
.
Mixin font-main
.
'Montserrat', sans-serif. Font-weight: 400
'Montserrat', sans-serif. Font-weight: 700
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraph
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, architecto. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, architecto. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, architecto.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, architecto. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, architecto. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque, architecto.
Text Colors and Variants
Colors can be changed in sass/_variables.sass
. Find colors
there.
Add class to element and it will look like in example.
Custom colors
.main-text
.blue
.vine
.vine-dark
.brown
.green
.violet
.sea-wave
.grey
.grey-border
Bootstrap colors
.text-muted
.text-primary
.text-success
.text-info
.text-warning
.text-danger
Bootstrap variants
.text-lowercase
.text-uppercase
.text-capitalize
.font-weight-normal
.font-weight-bold
.font-italic
Text Alignment
Alignment:
.text-...-left
.text-...-center
.text-...-right
Sizes:
.text-lg-...
- large screens and up.
.text-md-...
- medium screens and up.
.text-sm-...
- small screens and up.
.text-xs-...
- extra-small screens and up.
* Look grid system to know what screen sizes are lg, md, sm, xs.
.text-xs-center
.text-xs-right
- to center in phone;
- to right in tablet;
- and to left in desktop.
.text-xs-center .text-md-right .text-lg-left
Inline elements
Use tag to make text look like in example.
HTML Tag (Tags) | Text |
---|---|
mark | marked |
del, s | |
u, ins | underlined |
small | small |
b, strong | bold |
i, em | italic |
sup | TextSup |
sub | TextSub |
abbr (abbreviation) | HTML |
kbd (keybord input) | cmd |
q | Short inline quotation |
code |
Computer code
|
samp | Computer output |
var (variable) | x |
Preformatted Text
To get preformatted text
use <
instead <
and >
instead >
inside pre
tag.
Example:
<h2>Heading/h2> <p>Sample text here...</p>
Lists
Unordered
- Text
- Text
-
Text
- Text
- Text
- Text
- Text
- Text
Ordered
- Text
- Text
-
Text
- Text
- Text
- Text
- Text
- Text
Unstyled
.list-unstyled
- Text
- Text
-
Text
- Text
- Text
- Text
- Text
- Text
Definition
- Javascript.
- Program language.
- Termin.
- Definition.
- Termin.
- Definition.
Animations
Can be changed in sass/_variables.sass
.
Mixin transition-main
.
Default value 0.2s
.
Add class transition-main
to element with transition.
Or add mixin transition-main
in sass files.
Blockquote
.blockquote
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit. Ad fugiat autem saepe atque odio quae eveniet laudantium ipsum, commodi numquam illo non exercitationem nulla accusamus labore, iure eos minus dicta.
.blockquote
and .blockquote-footer
Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit. Ad fugiat autem saepe atque odio quae eveniet laudantium ipsum, commodi numquam illo non exercitationem nulla accusamus labore, iure eos minus dicta.
.blockquote-reverse
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
.blockquote-reverse
and .blockquote-footer
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Time
Use datetime attribute to set date. More info: W3Scholls HTML Time Tag.
Line - hr
Images
Responsive image, max-width: 100%.
.img-fluid
Image shapes
.img-rounded

.img-circle

.img-thumbnail

Image centered
.center-block

Image full width
.img-full-width

Forms
Use .form-control
.
Controls sizing
Controls states
Custom controls
HTML5 Input Types that are NOT compatible with actual browsers and platforms. Information on
Input Types Color, Number, Date, Month, Datetime, Datetime-Local are NOT compatible with actual browsers. Use some jQuery plugins instead.
You can check compability at caniuse.com
Icons
I recommend to use Font Awesome. It is iconic font. Icons colors and sizes are easy to change.
Carousel
I recommend to use Owl Carousel.
Buttons
Regular buttons
Outline buttons
Sizes
Other
Tables
Basic
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Inverse
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Striped
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Bordered
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Mark | Otto | @TwBootstrap |
3 | Jacob | Thornton | @fat |
4 | Larry the Bird |
Hoverable
# | First Name | Last Name | Username |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Address
Company Name
1234 Main St.
Anywhere, 101010, CA
U.S.A
+1.888.123.4567
Headings group
Heading 1
Heading 2
Grid
structure
.container
> .row
> column(s)
Different columns in phone, tablet, desktop, large desktop.
Use
.col-xs-..
.col-sm-..
.col-md-..
.col-lg-..
.col-xl-..
classes.
Navigation
Read more in Bootstrap Navbar.
Breadcrumbs
Pagination
Read more in Bootstrap Pagination.
Tabs
Tab Content 1
Tab Content 2
Tab Content 3
Tab Content 4
More info in Bootstrap Navs.
Accordion (Collapse)
More info in Bootstrap Collapse .
Alerts
More info in Bootstrap Alerts .
Dropdowns
More info in Bootstrap Dropdowns .
Card

Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
ButtonCard title
Support card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.
Card link Another linkCard title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Last updated 3 mins ago

Featured
Special title treatment
With supporting text below as a natural lead-in to additional content.
Go somewhere
Special title treatment
With supporting text below as a natural lead-in to additional content.
ButtonLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
More info in Bootstrap Cards .
Modal
More info in Bootstrap Modal .
Responsive utilities
You can show elements in desktop but hide in tablet or phone.
More info in Bootstrap Responsive utilities .
Responsive video
21by9
16by9
4by3
1by1
More info in Bootstrap Utilities .
Usefull resources
Grid, typography, components and javascript features: Bootstrap 4 Documentation.
HTML Tags: W3Scholls HTML Reference.