Documentation and examples for typography, including global settings, headings, body text, lists, and more.
All HTML headings <h1>
through <h6>
are available, .h1
through .h6
classes are also available.
<h1>h1. Nubra heading</h1>
<h2>h2. Nubra heading</h2>
<h3>h3. Nubra heading</h3>
<h4>h4. Nubra heading</h4>
<h5>h5. Nubra heading</h5>
<h6>h6. Nubra heading</h6>
<!-- .h1 through .h6 classes are also available -->
<p class="h1"> >h1. Nubra heading</p>
<p class="h2"> >h2. Nubra heading</p>
<p class="h3"> >h3. Nubra heading</p>
<p class="h4"> >h4. Nubra heading</p>
<p class="h5"> >h5. Nubra heading</p>
<p class="h6"> >h6. Nubra heading</p>
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.
<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>
Use .heading-wth-icon
.
<h1 class="heading-wth-icon">
<span class="head-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>h1. Nubra heading</span>
</h1>
Use title-lg,title,title-sm,title-xs
.
<div class="title-lg"><span>Title LG</span></div>
<div class="title"><span>Title</span></div>
<div class="title-sm"><span>Title SM</span></div>
<div class="title-xs"><span>Title XS</span></div>
Class | Values |
---|---|
class="title-[Value]" |
lg / sm / xs |
Use .title-wth-divider
class with title element.
<div class="title-lg title-wth-divider"><span>Title Lg</span></div>
<div class="title title-wth-divider"><span>Title Default</span></div>
<div class="title-sm title-wth-divider"><span>Title sm</span></div>
<div class="title-xs title-wth-divider"><span>Title xs</span></div>
Class | Values |
---|---|
class="title-[Value]" |
lg / sm / xs |
Use title-lg,title,title-sm,title-xs
.
<div class="title-lg">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title LG</span>
</div>
<div class="title">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title</span>
</div>
<div class="title-sm">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title SM</span>
</div>
<div class="title-xs">
<span class="title-icon"><span class="feather-icon"><i data-feather="airplay"></i></span></span><span>Title XS</span>
</div>
Class | Values |
---|---|
class="title-[Value]" |
lg / sm / xs |
For quoting blocks of content from another source within your document. Wrap <blockquote class="blockquote">
around any HTML as the quote.
<figure>
<blockquote class="blockquote">
<p>A well-known quote, contained in a blockquote element.</p>
</blockquote>
<figcaption class="blockquote-footer">
Someone famous in <cite title="Source Title">Source Title</cite>
</figcaption>
</figure>
Use the included utility classes to recreate the small secondary heading text from Bootstrap.
<h3>
Fancy display heading
<small class="text-muted">With faded secondary text</small>
</h3>
Make a paragraph stand out by adding .p-xl,.p-lg,.p-sm,.p-xs
.
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
<p class="p-xl">
paragraph XL Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-lg">
paragraph LG Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p>
paragraph Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-sm">
paragraph SM Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
<p class="p-xs">
paragraph XS Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
Class | Values |
---|---|
class="p-[value]" |
xl / lg / sm / xs |
Make a paragraph stand out by adding .lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
<p class="lead">
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
</p>
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.
This line rendered as italicized text.
This line rendered as italicized text.
<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 class="strikethrough"><s>This line rendered as italicized text.</s></p>
<p class="strikethrough"><del>This line rendered as italicized text.</del></p>
<p><em>This line rendered as italicized text.</em></p>
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.
<ul class="list-ul">
<li>This is a list.</li>
<li>It appears completely unstyled.</li>
<li>Structurally, it's still a list.</li>
<li>However, this style only applies to immediate child elements.</li>
<li>Nested lists:
<ul>
<li>are unaffected by this style</li>
<li>will still show a bullet</li>
<li>and have appropriate left margin</li>
</ul>
</li>
<li>This may still come in handy in some situations.</li>
</ul>
<!--List Unstyled-->
<ul class="list-unstyled">
<li>Lorem ipsum dolor sit amet</li>
<li>Lorem ipsum dolor sit amet</li>
</ul>
<!--List Inline-->
<ul class="list-inline">
<li class="list-inline-item">Lorem ipsum</li>
<li class="list-inline-item">Phasellus iaculis</li>
<li class="list-inline-item">Nulla volutpat</li>
</ul>