Typography
Headings
All HTML headings, <h1>
through <h6>
, are available.
h1. Bootstrap heading Semibold 2.1875rem (35px)
h2. Bootstrap heading Semibold 1.75rem (28px)
h3. Bootstrap heading Semibold 1.53125rem (24.5px)
h4. Bootstrap heading Semibold 1.3125rem (21px)
h5. Bootstrap heading Semibold 1.09375rem (17.5px)
h6. Bootstrap heading Semibold 0.875rem (14px)
Inline text elements
Styling for common inline HTML5 elements.
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.
Font size
Quickly change the font-size
of text. While our heading classes (e.g.,
.h1
–.h6
) apply font-size
, font-weight
, and
line-height
, these utilities only apply font-size
. Sizing for these
utilities matches HTML’s heading elements, so as the number increases, their size decreases.
.fs-1 text
.fs-2 text
.fs-3 text
.fs-4 text
.fs-5 text
.fs-6 text
Inline List
Remove a list’s bullets and apply some
light margin
with a combination
of two classes, .list-inline
and
.list-inline-item
.
- Lorem ipsum
- Phasellus iaculis
- Nulla volutpat
Display headings
Traditional heading elements are designed to work best in the meat of your page content.
Display 1
Display 2
Display 3
Display 4
Display 5
Display 6
Blockquotes
For quoting blocks of content from
another source within your document. Wrap <blockquote
class="blockquote">
around any HTML as the quote.
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.
Unstyled List
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.
- Integer molestie lorem at massa
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Faucibus porta lacus fringilla vel
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.