1.0.3 • Published 5 years ago
@citizensadvice/font-style v1.0.3
Font-style
Defines if the text is slanted.
Classes
.italic {
font-style: italic;
}
Examples
<p>Lorem ipsum dolar sit <span class="italic">amet</span>, consectetur...</p>
Installation
$ npm install @citizensadvice/font-style
now import into your stylesheet...
@import '@citizensadvice/font-style/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-style@latest/build/font-style.css" />