basscss-type-scale

v1.0.6
Type scale utility styles for Basscss

This module provides utilities for adjusting font-size.

The .h1.h6 font-size utilities can be used to override an element’s default size.

<p class="h1">Pastrami 1</p>
<p class="h2">Pastrami 2</p>
<p class="h3">Pastrami 3</p>
<p class="h4">Pastrami 4</p>
<p class="h5">Pastrami 5</p>
<p class="h6">Pastrami 6</p>

These are especially useful for altering the visual appearance of semantically correct headings.

<h2 class="h1">Larger than default h2 style, but semantically correct</h2>
npm i basscss-type-scale

Metadata

  • MIT
  • Whatever
  • Brent Jackson
  • released 9/10/2018

Downloads

Maintainers