Typography
Basic composition
An example composition of how your document may look like.
Component heading (h5)
Component subheading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi placerat eleifend ipsum, vel scelerisque massa maximus quis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aliquam ullamcorper nunc erat, vehicula gravida eros mollis laoreet. Interdum et malesuada fames ac ante ipsum primis in faucibus.
Component heading (h5)
Component subheading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi placerat eleifend ipsum, vel scelerisque massa maximus quis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aliquam ullamcorper nunc erat, vehicula gravida eros mollis laoreet. Interdum et malesuada fames ac ante ipsum primis in faucibus.
Component heading (h5)
Component subheading
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi placerat eleifend ipsum, vel scelerisque massa maximus quis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Aliquam ullamcorper nunc erat, vehicula gravida eros mollis laoreet. Interdum et malesuada fames ac ante ipsum primis in faucibus.
Styled headings
.cd-h1
through .cd-h6
classes are also available, for when you want to match
the font styling of a heading
but cannot use the associated HTML element.
Coats digital styled heading cd-h1
Coats digital styled heading cd-h2
Coats digital styled heading cd-h3
Coats digital styled heading cd-h4
Coats digital styled heading cd-h5
Coats digital styled heading cd-h6
Customizing headings
Use the included utility classes to recreate the small secondary heading text.
Fancy display heading With faded secondary text
Display headings
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.
CD display heading 1
CD display heading 2
CD display heading 3
CD display heading 4
CD display heading 5
CD display heading 6
Lead
Make a paragraph stand out by adding .cd-lead
.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
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.
Beware that those tags should be used for semantic purpose:
<mark>
represents text which is marked or highlighted for reference or notation purposes.<small>
represents side-comments and small print, like copyright and legal text.<s>
represents element that are no longer relevant or no longer accurate.<u>
represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation.
If you want to style your text, you should use the following classes instead:
.cd-mark
will apply the same styles as<mark>
.cd-small
will apply the same styles as<small>
.cd-text-decoration-underline
will apply the same styles as<s>
.cd-text-decoration-line-through
will apply the same styles as<u>
You can use the mark tag to highlight text.
This line of text is meant to be treated as fine print.
This line of text will render as underlined
This line of text is meant to be treated as no longer accurate.
Abbreviations
Stylized implementation of HTML’s <abbr>
element for abbreviations and acronyms to
show the expanded
version on hover. Abbreviations have a default underline and gain a help cursor to provide additional
context on hover and to users of assistive technologies.
Add .cd-initialism
to an abbreviation for a slightly smaller font-size.
attr
HTML
Blockquotes
For quoting blocks of content from another source within your document. Wrap
<blockquote class="cd-blockquote">
around any HTML as the quote.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Naming a source
The HTML spec requires that blockquote attribution be placed outside the
<blockquote>
. When providing attribution, wrap your
<blockquote>
in a <figure>
and use a
<figcaption>
or a
block level element (e.g., <p>
) with the .blockquote-footer class. Be sure to wrap
the name of the
source work in <cite>
as well.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Alignment
Use text utilities as needed to change the alignment of your blockquote.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.