@citizensadvice/font-family
v1.0.3
Published
Sets the font-family for an element and its children.
Downloads
3
Keywords
Readme
Font-family
Sets the font-family for an element and its children.
Classes
| Class name | Value |
| ------------ | -------------------------------------------------------------------- |
| .open-sans
| $font-family (Open Sans,helvetica,helvetica neue,arial,sans-serif)
|
Examples
<div class="open-sans">Lorem ipsum</div>
Installation
$ npm install @citizensadvice/font-family
now import into your stylesheet...
@import '@citizensadvice/font-family/index.scss';
You can also make use of the unpkg service, try adding the link below to the head of your HTML
file
<link src="https://unpkg.com/@citizensadvice/font-family@latest/build/font-family.css" />