Typography

Headings, body text, lists, and more.

Bootstrap docs

Headings

h1. Cartzilla heading


h2. Cartzilla heading


h3. Cartzilla heading


h4. Cartzilla heading


h5. Cartzilla heading

h6. Cartzilla heading
<!-- Headings -->
<h1>h1. Cartzilla heading</h1>
<h2>h2. Cartzilla heading</h2>
<h3>h3. Cartzilla heading</h3>
<h4>h4. Cartzilla heading</h4>
<h5>h5. Cartzilla heading</h5>
<h6>h6. Cartzilla heading</h6>
// Headings
h1 h1. Cartzilla heading
h2 h2. Cartzilla heading
h3 h3. Cartzilla heading
h4 h4. Cartzilla heading
h5 h5. Cartzilla heading
h6 h6. Cartzilla heading

Display headings

Display 1


Display 2


Display 3


Display 4


Display 5


Display 6

<!-- Display headings -->
<h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
<h1 class="display-5">Display 5</h1>
<h1 class="display-6">Display 6</h1>
// Display headings
h1.display-1 Display 1
h1.display-2 Display 2
h1.display-3 Display 3
h1.display-4 Display 4
h1.display-5 Display 5
h1.display-6 Display 6

Body text sizes

fs-1. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-2. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-3. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-4. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-5. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

fs-6. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Lead. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Large. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Normal. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Medium. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Small. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Medium small. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Extra small. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

<!-- Body text sizes -->
<p class="fs-1">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-2">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-3">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-4">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-5">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-6">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="lead">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-lg">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-md">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-sm">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-ms">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
<p class="fs-xs">Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor</p>
// Body text sizes
p.fs-1 Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-2 Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-3 Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-4 Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-5 Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-6 Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.lead Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-lg Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-md Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-sm Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-ms Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor
p.fs-xs Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor

Inline text 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.

<!-- Inline text elements -->
<p>You can use the mark tag to <mark>highlight</mark> text.</p>
<p><del>This line of text is meant to be treated as deleted text.</del></p>
<p><s>This line of text is meant to be treated as no longer accurate.</s></p>
<p><ins>This line of text is meant to be treated as an addition to the document.</ins></p>
<p><u>This line of text will render as underlined.</u></p>
<p><small>This line of text is meant to be treated as fine print.</small></p>
<p><strong>This line rendered as bold text.</strong></p>
<p><em>This line rendered as italicized text.</em></p>
// Inline text elements
p You can use the mark tag to <mark>highlight</mark> text.
p
  del This line of text is meant to be treated as deleted text.
p
  s This line of text is meant to be treated as no longer accurate.
p
  ins This line of text is meant to be treated as an addition to the document.
p
  u This line of text will render as underlined.
p
  small This line of text is meant to be treated as fine print.
p
  strong This line rendered as bold text.
p
  em This line rendered as italicized text.

Abbreviations

attr

HTML

<!-- Abbreviations -->
<p><abbr title="attribute">attr</abbr></p>
<p><abbr class="initialism" title="HyperText Markup Language">HTML</abbr></p>
// Abbreviations
p
  abbr(title="attribute") attr
p
  abbr.initialism(title="HyperText Markup Language") HTML

Blockquote

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante

Someone famous in Source Title
<!-- Blockquote -->
<blockquote class="blockquote">
  <p class="mb-2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
  <footer class="blockquote-footer">
    Someone famous in <cite title="Source Title">Source Title</cite>
  </footer>
</blockquote>
// Blockquote
blockquote.blockquote
  p.mb-2 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
  footer.blockquote-footer Someone famous in <cite title="Source Title">Source Title</cite>

Lists: Unordered and ordered

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
  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
<!-- Unordered list -->
<ul class="list-style">
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
  <li>Facilisis in pretium nisl aliquet</li>
  <li>Nulla volutpat aliquam velit</li>
</ul>

<!-- Ordered list -->
<ol class="list-style">
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
  <li>Facilisis in pretium nisl aliquet</li>
  <li>Nulla volutpat aliquam velit</li>
</ul>
// Unordered list
ul.list-style
  li Lorem ipsum dolor sit amet
  li Consectetur adipiscing elit
  li Integer molestie lorem at massa
  li Facilisis in pretium nisl aliquet
  li Nulla volutpat aliquam velit

// Ordered list
ol.list-style
  li Lorem ipsum dolor sit amet
  li Consectetur adipiscing elit
  li Integer molestie lorem at massa
  li Facilisis in pretium nisl aliquet
  li Nulla volutpat aliquam velit

Lists: Unstyled

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
<!-- Unstyled list -->
<ul class="list-unstyled">
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
    <ul>
      <li>Phasellus iaculis neque</li>
      <li>Purus sodales ultricies</li>
      <li>Vestibulum laoreet porttitor sem</li>
    </ul>
  </li>
  <li>Faucibus porta lacus fringilla vel</li>
  <li>Aenean sit amet erat nunc</li>
</ul>
// Unstyled list
ul.list-unstyled
  li Lorem ipsum dolor sit amet
  li Consectetur adipiscing elit
  li Integer molestie lorem at massa
    ul
      li Phasellus iaculis neque
      li Purus sodales ultricies
      li Vestibulum laoreet porttitor sem
  li Faucibus porta lacus fringilla vel
  li Aenean sit amet erat nunc

Lists: Inline

  • Lorem ipsum dolor
  • Consectetur adipiscing
  • Integer molestie
<!-- Inline list -->
<ul class="list-inline">
  <li class="list-inline-item">Lorem ipsum dolor</li>
  <li class="list-inline-item">Consectetur adipiscing</li>
  <li class="list-inline-item">Integer molestie</li>
</ul>
// Inline list
ul.list-inline
  li.list-inline-item Lorem ipsum dolor
  li.list-inline-item Consectetur adipiscing
  li.list-inline-item Integer molestie

Description list basic example

Description lists
A description list is perfect for defining terms.
Malesuada porta
Etiam porta sem malesuada magna mollis euismod.
Euismod
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
<!-- Description list basic example -->
<dl>
  <dt>Description lists</dt>
  <dd>A description list is perfect for defining terms.</dd>
  <dt>Malesuada porta</dt>
  <dd>Etiam porta sem malesuada magna mollis euismod.</dd>
  <dt>Euismod</dt>
  <dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</dd>
</dl>
// Description list basic example
dl
  dt Description lists
  dd A description list is perfect for defining terms.
  dt Malesuada porta
  dd Etiam porta sem malesuada magna mollis euismod.
  dt Euismod
  dd Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.

Description list alignment

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.
Long 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.
<!-- Description list alignment -->
<dl class="row">
  <dt class="col-sm-3">Description lists&nbsp;</dt>
  <dd class="col-sm-9">A description list is perfect for defining terms.</dd>
  <dt class="col-sm-3">Euismod</dt>
  <dd class="col-sm-9">
    <p class="mb-2">Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.</p>
    <p class="mb-0">Donec id elit non mi porta gravida at eget metus.</p>
  </dd>
  <dt class="col-sm-3">Malesuada porta</dt>
  <dd class="col-sm-9">Etiam porta sem malesuada magna mollis euismod.</dd>
  <dt class="col-sm-3 text-truncate">Long truncated term is truncated</dt>
  <dd class="col-sm-9">Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</dd>
  <dt class="col-sm-3">Nesting</dt>
  <dd class="col-sm-9">
    <dl class="row">
      <dt class="col-sm-4">Nested definition list</dt>
      <dd class="col-sm-8">Aenean posuere, tortor sed cursus feugiat nunc augue.</dd>
    </dl>
  </dd>
</dl>
// Description list alignment
dl.row.mb-0
  dt.col-sm-3 Description lists&nbsp;
  dd.col-sm-9 A description list is perfect for defining terms.
  dt.col-sm-3 Euismod
  dd.col-sm-9
    p.mb-2 Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
    p.mb-0 Donec id elit non mi porta gravida at eget metus.
  dt.col-sm-3 Malesuada porta
  dd.col-sm-9 Etiam porta sem malesuada magna mollis euismod.
  dt.col-sm-3.text-truncate Long truncated term is truncated
  dd.col-sm-9 Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
  dt.col-sm-3 Nesting
  dd.col-sm-9
    dl.row
      dt.col-sm-4 Nested definition list
      dd.col-sm-8 Aenean posuere, tortor sed cursus feugiat nunc augue.
Top