Typography

Native font stack

The default web fonts (Helvetica Neue, Helvetica, and Arial) have been dropped in Bootstrap 4 and replaced with a “native font stack” for optimum text rendering on every device and OS. Read more about native font stacks

  • 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

Thin headings

H1. Heading

H2. Heading

H3. Heading

H4. Heading

H5. Heading
H6. Heading

Light headings

H1. Heading

H2. Heading

H3. Heading

H4. Heading

H5. Heading
H6. Heading

Bold headings

H1. Heading

H2. Heading

H3. Heading

H4. Heading

H5. Heading
H6. Heading

Black headings

H1. Heading

H2. Heading

H3. Heading

H4. Heading

H5. Heading
H6. Heading

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

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

Blockquotes styling Default

Add a .border-left-{color} .border-right-3 helper classes, where color can be any color from Modern 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.

Steve Jobs Entrepreneur

Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.

Steve Jobs Entrepreneur

Blockquotes styling Right

Add a .border-right-{color} .border-right-3 helper classes with .blockquote-reverse, where color can be any color from Modern 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.

Steve Jobs Entrepreneur

Sometimes when you innovate, you make mistakes. It is best to admit them quickly, and get on with improving your other innovations.

Steve Jobs Entrepreneur

Blockquotes with avatar Default

Blockquotes with avatar. it use Media Object. You can customize image type, border alignment & style.

Generic placeholder image
Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Steve Jobs Entrepreneur
Generic placeholder image
Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Steve Jobs Entrepreneur

Blockquotes with avatar rounded image example

Generic placeholder image
Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Steve Jobs Entrepreneur
Generic placeholder image
Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Steve Jobs Entrepreneur

Blockquotes with avatar Right

Right aligned blockquotes with avatar, it also use Media Object. You can customize image type, border alignment & style.

Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Generic placeholder image
Steve Jobs Entrepreneur
Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Generic placeholder image
Steve Jobs Entrepreneur

Right aligned blockquotes with avatar rounded image example

Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Generic placeholder image
Steve Jobs Entrepreneur
Sometimes life is going to hit you in the head with a brick. Don't lose faith.
Generic placeholder image
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

Lists Unordered Circle

Use .list-style-circle class in unordered list to add 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

Lists Unordered Square

Use .list-style-square class in unordered list to add square 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

Lists Ordered Mixed

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

Lists Ordered Type

Use <ol type="1|a|A|i|I">, The type attribute specifies the kind of marker to use in the list.

  1. Facilisis in pretium nisl aliquet
  2. Nulla volutpat aliquam velit
    1. Phasellus iaculis neque
    2. Ac tristique libero volutpat at
  3. Faucibus porta lacus fringilla vel
  4. Aenean sit amet erat nunc

Lists Ordered Mixed

You can also mix up ordered list type, below example shows I & i type combination.

  1. Facilisis in pretium nisl aliquet
  2. Nulla volutpat aliquam velit
    1. Phasellus iaculis neque
    2. Ac tristique libero volutpat at
  3. Faucibus porta lacus fringilla vel
  4. Aenean sit amet erat nunc

Lists icons

list of terms with icons, use .list-style-icons class. You can use any icon from Modern Admin icon types.

  • 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

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 Modern 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.

Description lists Vertical

Description lists
A description list is perfect for defining terms.
Euismod
Vestibulum id ligula porta felis euismod semper eget lacinia odio.
Donec id elit non mi porta gravida at eget metus.
Malesuada porta
Etiam porta sem malesuada magna mollis euismod.

Description lists Horizontal

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.