Bootstrap sets basic global display, typography, and link styles. When more control is needed, check out the textual utility classes.
- Use a native font stack that selects the best
font-family
for each OS and device. - Use the
$font-family-base
,$font-size-base
, and$line-height-base
attributes as our typographic base applied to the<body>
. - Set the global link color via
$link-color
and apply link underlines only on:hover
. - Use
$body-bg
to set abackground-color
on the<body>
(#fff
by default).
.h1
through .h6
classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.
H1. Heading |
Semibold 2rem |
H2. Heading |
Semibold 74rem |
H3. Heading |
Semibold 1.51rem |
H4. Heading |
Semibold 1.32rem |
H5. Heading |
Semibold 1.14rem |
H6. Heading |
Semibold 1rem |
Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.
Display heading |
Display heading |
Display heading |
Display heading |
Display heading |
Display heading |
Traditional heading elements are designed to work best in the meat of your page content. When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.
Display 1 |
Display 2 |
Display 3 |
Display 4 |
Stylized implementation of HTML’s <abbr>
element for abbreviations and acronyms to show the expanded version on hover. Abbreviations have a default underline and gain a help cursor to provide additional context on hover and to users of assistive technologies.
Add .initialism
element for abbreviations and acronyms to show the expanded version on hover. Abbreviations have a default underline and gain a help cursor to provide additional context on hover and to users of assistive technologies.
attr
HTML
Blockquotes
For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote">
around any
HTML as the quote.
Add a <footer class="blockquote-footer">
for identifying the source with .blockquote-reverse
for a blockquote with right-aligned content.
Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matters to me.
Add a .border-left-{color} .border-right-3
helper classes, where color can be any color from Chameleon Admin color palette.
Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.
Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.
Add a .border-right-{color} .border-right-3
helper classes with .blockquote-reverse
, where color can be any color from Chameleon Admin color palette.
Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.
Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.
Lists
For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote">
around any
HTML as the quote.
Use class .list-unstyled
for Lists Unstyled. It remove the default list-style
and left margin on list items (immediate children only). This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
List of items in which the order does not explicitly matter.
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
List of items in which the order does explicitly matter.
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Combine .list-style-square
& .list-style-circle
classes in unordered list to add square and circle bullet points.
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
Description list alignment
Align terms and descriptions horizontally by using our grid system’s predefined classes (or semantic mixins). For longer terms, you can optionally add a .text-truncate
class to truncate the text with an ellipsis.
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
- Truncated term is truncated
- Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
- Nesting
-
- Nested definition list
- Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.
Description lists with right aligned text in <dt>
tag using .text-right
- Description lists
- A description list is perfect for defining terms.
- Euismod
- Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
- Donec id elit non mi porta gravida at eget metus.
- Malesuada porta
- Etiam porta sem malesuada magna mollis euismod.
- Truncated term is truncated
- Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
- Nesting
-
- Nested definition list
- Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.