Font family
The font family class sets the font-family property. It controls the typeface of a text element.
h1, h2 whenever possible.| CSS Shortcut class | Applied style |
|---|---|
|
|
|
|
|
|
Examples
Heading
font-family-heading
This element uses the heading font family.
<h4 class="font-family-heading">
This element uses the heading font family.
</h4>
Body
font-family-body
This element uses the body font family.
<p class="font-family-body">
This element uses the body font family.
</p>
Monospace
font-family-monospace
This element uses the monospace font family.<code class="font-family-monospace">
This element uses the monospace font family.
</code>
xs:> 480pxsm:> 640pxmd:> 768pxlg:> 1024pxxl:> 1280px
<div class="xs:font-family-body ...">
...
</div>