Typography

Global settings

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 a background-color on the <body> (#fff by default).

HTML headings Default

All HTML headings, <h1> through <h6>, are available.

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

Heading class

.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

Customizing headings Default

Use the included utility classes to recreate the small secondary heading text.

Display heading Secondary text

Display heading Secondary text

Display heading Secondary text

Display heading Secondary text

Display heading Secondary text
Display heading Secondary text

Heading colors

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

Display headings

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

Lead

Make a paragraph stand out by adding .lead

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.

Design is not just what it looks like and feels like. Design is how it works.

Abbreviations

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.


Blockquotes Default

Left aligned basic blockquotes

Design is not just what it looks like and feels like. Design is how it works.

Blockquotes Right

Add .blockquote-reverse for a blockquote with right-aligned content.

Design is not just what it looks like and feels like. Design is how it works.

Naming a source Default

Add a <footer class="blockquote-footer"> for identifying the source. Wrap the name of the source work in <cite>.

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.

Steve Jobs Entrepreneur

Naming a source Right

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.

Steve Jobs Entrepreneur

Lists

For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote"> around any HTML as the quote.


Lists Unstyled

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

Lists Unordered Default

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

Lists Ordered Default

List of items in which the order does explicitly matter.

  1. Lorem ipsum dolor sit amet
  2. Consectetur adipiscing elit
  3. Integer molestie lorem at massa
  4. Facilisis in pretium nisl aliquet
  5. Nulla volutpat aliquam velit
    1. Phasellus iaculis neque
    2. Purus sodales ultricies
    3. Vestibulum laoreet porttitor sem
    4. Ac tristique libero volutpat at
  6. Faucibus porta lacus fringilla vel
  7. Aenean sit amet erat nunc
  8. Eget porttitor lorem

Inline Lists Default

Remove a list’s bullets and apply some light margin with a combination of two classes, .list-inline and .list-inline-item.

  • Chocolate
  • Cake
  • Ice-Cream

Inline Lists Ordered

Use inline numbers, alphabet etc... for ordered Inline List.

  • 1. Chocolate
  • 2. Cake
  • 3. Ice-Cream

Inline Lists With icons

You can also use Chameleon Admin icons in Inline Lists.

  • Euro
  • Pound
  • Dollar

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 Horizontal

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.