Typography
Is the art and technique of arranging type to make written language readable and appealing.
Headings
All HTML headings, <h1>
through <h6>
, are available. .h1
through .h6
classes are also available, for when you want to match the font styling of a heading but still want your text to be displayed inline.
H1. Lorem ipsum dolor sit amet
H2. Lorem ipsum dolor sit amet
H3. Lorem ipsum dolor sit amet
H4. Lorem ipsum dolor sit amet
H5. Lorem ipsum dolor sit amet
H6. Lorem ipsum dolor sit amet
Create lighter, secondary text in any heading with a generic <small>
tag or the .small
class.
H1. Lorem ipsum dolor sit amet la plast amet somour fomoliositor
H2. Lorem ipsum dolor sit amet la plast amet somour fomoliositor
H3. Lorem ipsum dolor sit amet la plast amet somour fomoliositor
H4. Lorem ipsum dolor sit amet la plast amet somour fomoliositor
H5. Lorem ipsum dolor sit amet la plast amet somour fomoliositor
H6. Lorem ipsum dolor sit amet la plast amet somour fomoliositor
Body copy
Default font-size is 12px. Change value of variable @dev-default-font-size
to change it.
Nunc scelerisque odio non purus malesuada, sit amet faucibus justo vehicula. Donec in facilisis metus, pretium molestie neque. Nunc dapibus suscipit lectus sit amet tincidunt. In hac habitasse platea dictumst. Aliquam sit amet ligula vitae mi euismod ullamcorper malesuada quis lectus. Nulla vitae felis lacus. Nulla facilisi. Integer quis nulla justo. Morbi id libero cursus, scelerisque orci id, sagittis diam. Quisque maximus lacus neque, id blandit tellus euismod eget. Donec egestas, ante vitae facilisis iaculis, lorem ex fringilla ex, in faucibus felis urna maximus ligula. Vestibulum tincidunt dapibus libero, sed vehicula urna bibendum a. Maecenas maximus quam neque, ac varius ligula vestibulum eget. Ut venenatis diam lectus, nec luctus nibh fermentum a. Nulla egestas tempor leo elementum vehicula.
Duis gravida id turpis id aliquet. Vivamus odio massa, placerat mattis metus ac, eleifend condimentum ex. Pellentesque id nulla lectus. Aenean felis lacus, faucibus non rutrum non, sagittis non ex. Fusce scelerisque ex eu consequat scelerisque. Phasellus felis metus, tincidunt a mattis volutpat, facilisis sit amet odio. Suspendisse potenti.
Text Highlight
Use classes .text-primary
, text-info
, text-success
, text-warning
, text-danger
to highlight text
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Inline Text Elements
Samples of using text features.
Marked text
For highlighting a run of text due to its relevance in another context, use the <mark>
tag.
You can use the mark tag to highlighttext.
Deleted text
For indicating blocks of text that have been deleted use the <del>
tag.
This line of text is meant to be treated as deleted text.
Strikethrough text
For indicating blocks of text that are no longer relevant use the <s>
tag.
This line of text is meant to be treated as no longer accurate.
Underlined text
To underline text use the <u>
tag.
This line of text will render as underlined
Small text
For de-emphasizing inline or blocks of text, use the <small>
tag to set text at 85% the size of the parent.
This line of text is meant to be treated as fine print.
Bold
For emphasizing a snippet of text with a heavier font-weight.
The following snippet of text is rendered as bold text
Italics
For emphasizing a snippet of text with italics.
The following snippet of text is rendered as italicized text
Alignment classes
Easily realign text to components with text alignment classes.
Left aligned text.
Center aligned text.
Right aligned text.
Justified text.
No wrap text.
Transformation classes
Transform text in components with text capitalization classes.
Lowercased text.
Uppercased text.
Capitalized text.
Addresses
Present contact information for the nearest ancestor or the entire body of work.
795 Folsom Ave, Suite 600
San Francisco, CA 94107
P:(123) 456-7890 Full Name
first.last@example.com