Skip to content

Line Height

Below, utility classes to apply font-size and line-height properties.

ClassProperties
.leading-extra-smallline-height: 1.25;
.leading-smallline-height: 1.375;
.leading-mediumline-height: 1.5;
.leading-largeline-height: 1.625;
.leading-extra-largeline-height: 1.75;

Example(s)

Lorem ipsum dolor sit amet...Lorem ipsum dolor sit amet...Lorem ipsum dolor sit amet...Lorem ipsum dolor sit amet...Lorem ipsum dolor sit amet...
html
<p class="leading-extra-small">Lorem ipsum dolor sit amet...</p>
<p class="leading-small">Lorem ipsum dolor sit amet...</p>
<p class="leading-medium">Lorem ipsum dolor sit amet...</p>
<p class="leading-large">Lorem ipsum dolor sit amet...</p>
<p class="leading-extra-large">Lorem ipsum dolor sit amet...</p>

Released under the Beerware 🍺 License.