Typography

Headings

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

Header 1: Life of Purpose

Header 2: Life of Purpose

Header 3: Life of Purpose

Header 4: Life of Purpose

Header 5: Life of Purpose
Header 6: Life of Purpose

Built with SCSS

The typographic scale is based on two SCSS variables in variables.scss: $base-font-size and $base-line-height. The first is the base font-size used throughout and the second is the base line-height. We use those variables and some simple math to create the margins, paddings, and line-heights of all our type and more.

Body copy

Bootstrap's global default font-size is 14px, with a line-height of 24px. This is applied to the <body> and all paragraphs. In addition, <p> (paragraphs) receive a bottom margin of half their line-height (9px by default).

Bootstrap's Purpose default font-size is 15px, with a line-height of 22px. This is applied to the <body> and all paragraphs. In addition, <p> (paragraphs) receive a bottom margin of over half their line-height (15px by default).

<p>...</p>

Lead body copy

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">...</p>

Emphasis

Make use of HTML's default emphasis tags with lightweight styles.

<em>

For emphasizing a snippet of text with stress

The following snippet of text is rendered as italicized text.

<em>rendered as italicized text</em>

<strong>

For emphasizing a snippet of text with important

The following snippet of text is rendered as bold text.

<strong>rendered as bold text</strong>

<small>

For de-emphasizing inline or blocks of text, use the small tag.

This line of text is meant to be treated as fine print.

<p> <small>This line of text is meant to be treated as fine print.</small></p>

Notes:

Feel free to use <b> and <i> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance while <i> is mostly for voice, technical terms, etc.

Notice Styles

Use the <p> tag with .success, .warning, .info or .error classes.

Vitae congue eu consequat ac felis donec et odio. Ut consequat semper viverra nam libero. Dignissim suspendisse in est ante in nibh mauris.

<p class="success">...</p>

Vitae congue eu consequat ac felis donec et odio. Ut consequat semper viverra nam libero. Dignissim suspendisse in est ante in nibh mauris.

<p class="info">...</p>

Vitae congue eu consequat ac felis donec et odio. Ut consequat semper viverra nam libero. Dignissim suspendisse in est ante in nibh mauris.

<p class="info1">...</p> custom info1 changes with theme color.

Vitae congue eu consequat ac felis donec et odio. Ut consequat semper viverra nam libero. Dignissim suspendisse in est ante in nibh mauris.

<p class="warning">...</p>

Vitae congue eu consequat ac felis donec et odio. Ut consequat semper viverra nam libero. Dignissim suspendisse in est ante in nibh mauris.

<p class="danger">...</p>

Vitae congue eu consequat ac felis donec et odio. Ut consequat semper viverra nam libero. Dignissim suspendisse in est ante in nibh mauris.

<p class="error">...</p>

Abbreviations

Stylized implementation of HTML's <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.

<abbr>

For expanded text on long hover of an abbreviation, include the title attribute.

An abbreviation of the word attribute is attr.

<abbr title="attribute">attr</abbr>

<abbr class="initialism">

Add .initialism to an abbreviation for a slightly smaller font-size.

HTML is the best thing since sliced bread.

<abbr title="attribute" class="initialism">attr</abbr>

Addresses

Stylized implementation of HTML's element to present contact information for the nearest ancestor or the entire body of work.

<address>

Preserve formatting by ending all lines with <br>.

Linkedin, Inc.
599 N Mathilda Ave
Sunnvale, CA 00000
P: (123) 456-7890
Full Name
first.last@gmail.com
<address>
  	<strong>Linkedin, Inc.</strong><br>
  	599 N Mathilda Ave<br>
  	Sunnvale, CA 00000<br>
  	<abbr title="Phone">P:</abbr> (123) 456-7890
</address>
<address>
  	<strong>Full Name</strong><br>
  	<a href="mailto:#">first.last@gmail.com</a>
</address>