@citizensadvice/font-style

Defines if the text is slanted.

Usage no npm install needed!

<script type="module">
  import citizensadviceFontStyle from 'https://cdn.skypack.dev/@citizensadvice/font-style';
</script>

README

Font-style npm (scoped)

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" />