Table of Contents
Fonts & Colors
Headline 1
Headline 2
Headline 3
Normal text. Or bold and italic.
And success, warning, danger and highlight colors.
You can also use dark & light.
The Bootstrap contextual colors secondary & info default either to the highlight or the primary color.
And some small text.
Headline Alert
1234567890
1234567890
Font Awesome icon font
Use fa fa-icon or fas fa-icon as a class for solid icons:
far fa-icon for regular icons:
And fab fa-icon for brand icons:
This is how an unknown icon looks:
And animated icons:
Bootstrap typography
General Typography
h1. Bootstrap heading
h2. Bootstrap heading
h3. Bootstrap heading
h4. Bootstrap heading
h5. Bootstrap heading
h6. Bootstrap heading
Lead text: Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
You can use the mark tag to highlight text.
This line of text is meant to be treated as deleted text.
This line of text is meant to be treated as no longer accurate.
This line of text is meant to be treated as an addition to the document.
This line of text will render as underlined
This line of text is meant to be treated as fine print.
This line rendered as bold text.
This line rendered as italicized text.
attr
HTML
Blockquotes
Blockquote: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Blockquote center: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Blockquote right: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lists
Code
For example,<section>
should be wrapped as inline code.
<p>Code block here...</p>
<p>And another line of sample text here...</p>
Variable: y = mx + b
This text is meant to be treated as sample output from a computer program.
Keyboard input:
To switch directories, type cd followed by the name of the directory.
To edit settings, press ctrl + ,
Containers & Backgrounds
bg-primary
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
bg-highlight
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
bg-success
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
bg-warning
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
bg-danger
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
bg-light
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
bg-dark
You can also get an element to span the whole viewport width with container-fullwidth. Here it is used to create a fullwidth background and container-width text.
Alerts
Badges
Primary Secondary Highlight Success Danger Warning Info Light Dark
Primary Secondary Highlight Success Danger Warning Info Light Dark
Primary Secondary Highlight Success Danger Warning Info Light Dark
Icon buttons
Small & large buttons
Text Links
Normal link Active linkButton groups
Cards
Cards with images & other elements
The Hubble Space Telescope captured this view of the Carina Nebula. It was quickly dubbed the "Mystic Mountains".
Read moreThe Hubble Space Telescope captured this view of the Carina Nebula. It was quickly dubbed the "Mystic Mountains".
Read moreYou can still use card-body, but it will be below the card overlay, so buttons won't work.
You can't click meThe Hubble Space Telescope captured this view of the Carina Nebula. It was quickly dubbed the "Mystic Mountains".
Read moreHorizontal cards
You can use the .convert-to-bg class on images in horizontal cards, so they always fill up the available space (parts of the image may be cut off).
The Hubble Space Telescope captured this view of the Carina Nebula. It was quickly dubbed the "Mystic Mountains".
Read moreThe Hubble Space Telescope captured this view of the Carina Nebula. It was quickly dubbed the "Mystic Mountains".
Read moreColored cards
You can use the background color utilities with all card types. But it looks best with the solid card.
Read moreYou can also give the cards a darker border color (no transparency).
Read moreYou can use the background color utilities with all card types. But it looks best with the solid card.
Read moreYou can use the background color utilities with all card types. But it looks best with the solid card.
Read moreYou can use the background color utilities with all card types. But it looks best with the solid card.
Read moreYou can use the background color utilities with all card types. But it looks best with the solid card.
Read moreYou can use the background color utilities with all card types. But it looks best with the solid card.
Read moreYou can use the background color utilities with all card types. But it looks best with the solid card.
Read moreCard groups & decks
These offer very little control for responsive design. Especially on smaller screens they will be way too narrow. I prefer using the normal grid (with the .h-100 utility for equal height cards).
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
This card has supporting text below as a natural lead-in to additional content.
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
This is a longer 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
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
Last updated 3 mins ago
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
Last updated 3 mins ago
Carousel
Collapse / Accordion
Dropdowns
The button colors can be changed, but the dropdown-menu will always have the same color.
Forms
Standard form
Form inline
Compact input fields
Input groups
Jumbotron
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
It uses utility classes for typography and spacing to space content out within the larger container.
Learn moreThis is a modified jumbotron that occupies the entire horizontal space of its parent.
List groups
list group flush
List group horizontal
List group colors
List group with HTML content
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.Modals
Tabs
Tabs (alternative design)
Pills
Standard (horizontal & vertical)
Navbars
Megamenu & Game Info
Pagination
Popovers & Tooltips
Popovers
Tooltips
Progress bars
Spinners
Toasts
Tables
Fully responsive table (check it out on mobile) with tooltips to save space (hover over the resources).
Non-bootstrap table
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table dark
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table header light & dark
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table striped (light/dark)
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table bordered (light/dark)
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry the Bird |
Table borderless (light/dark)
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table hover (light/dark)
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table small (light/dark)
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table colored (light/dark)
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
# | First | Last | Handle |
---|---|---|---|
1 | Mark | Otto | @mdo |
2 | Jacob | Thornton | @fat |
3 | Larry | the Bird |
Table (not really) responsive, but scrollable
# | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
Galaxy Map Controls
Image utilities
There are some useful image classes & scripts.
.convert-to-bg
The class .convert-to-bg adds the image to the parent container as a background image that fills all available space and hides the original. Useful for horizontal cards.
It may cut off some parts of the image.
.parallax-container & .parallax-image
The classes .parallax-container & .parallax-image work similar to .convert-to-bg. .parallax-container defines a container where a child image with the class .parallax-image is used as a background image. The styles are different though. The background image is fixed, so it doesn't move when the page is scrolled, creating a parallax effect.
The most common usecase is on fullwidth elements, but it can be used on anything (e.g. containers, columns, cards, etc.).
Fullwidth element inside non-fullwidth container
You can also get an element inside a non-fullwidth container to span the whole viewport width with the class .container-fullwidth. Here it is used to create a fullwidth background and container-width text.
This is useful if you have a complicated page structure and can't get out of your container for just this one element .
Parallax on columns
You can even add the parallax background to columns, cards, etc.
If you use the same image for all elements, you get a nice puzzle/window effect, as you can see here.
Parallax on columns
You can even add the parallax background to columns, cards, etc.
If you use the same image for all elements, you get a nice puzzle/window effect, as you can see here.
Parallax on columns
You can even add the parallax background to columns, cards, etc.
If you use the same image for all elements, you get a nice puzzle/window effect, as you can see here.
.avatar
The .avatar class also creates a background image from a child image. It centers it and makes it circular. There is also an .avatar-lg class to create bigger avatars.
Border color changes inside cards to match the card color.
Border color changes inside cards to match the card color.