Typography

Documentation and examples for Famous UI's typography.

Headings

All HTML headings, h1 through h6, are available.

Heading Example

<h1></h1>

h1. Heading

<h2></h2>

h2. Heading

<h3></h3>

h3. Heading

<h4></h4>

h4. Heading

<h5></h5>

h5. Heading

<h6></h6>

h6. Heading
<h1>h1. Heading</h1>
				<h2>h2. Heading</h2>
				<h3>h3. Heading</h3>
				<h4>h4. Heading</h4>
				<h5>h5. Heading</h5>
				<h6>h6. Heading</h6>

Custom headings

.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

h2. Heading

h3. Heading

h4. Heading

h5. Heading

h6. Heading

<p class="h1">h1. Heading</p>
				<p class="h2">h2. Heading</p>
				<p class="h3">h3. Heading</p>
				<p class="h4">h4. Heading</p>
				<p class="h5">h5. Heading</p>
				<p class="h6">h6. Heading</p>

Display headings

Use display headings for larger, slightly more opinionated heading style.

Display 1
Display 2
Display 3
Display 4
<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>

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.

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

Blockquote

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

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

<blockquote>
				<p class="mb-0">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
				</blockquote>

Text utilities

Change text alignment, transform, style, weight, and color with our text utilities and color utilities.

Text Color

  • .text-primary
  • .text-secondary
  • .text-dark
  • .text-light
  • .text-white
  • .text-success
  • .text-warning
  • .text-danger
  • .text-gray
  • .text-muted

Text Helper

  • .text-center
  • .text-left
  • .text-right
  • .capitalize
  • .uppercase
  • .lowercase

Font Sizes

  • .display-1
  • .display-2
  • .display-3
  • .display-4

  • .h1
  • .h2
  • .h3
  • .h4
  • .h5
  • .h6

Font Weight

  • .font-normal
  • .font-bold
  • .weight-100 to .weight-900