Type scale

noun

say it: “TYPE SKAYL” /taɪp skeɪl/

A short set of text sizes where each size is the one below it times the same number, such as 1.25, so headings and body text look like they belong together.

What is a type scale?

A type scale is a short set of text sizes that belong together: you pick one ratio, such as 1.25, and each size is the one below it times that number. Headings and body text then look like one family instead of random sizes.

p  { font-size: 1rem; }
h3 { font-size: 1.25rem; }     /* 1 x 1.25 */
h2 { font-size: 1.563rem; }    /* 1.25 x 1.25 */
h1 { font-size: 1.953rem; }    /* 1.563 x 1.25 */

In a sentence

  • “Instead of guessing heading sizes, I built a type scale that multiplies each size by 1.25.”

Level: Journeyman · More CSS terms at this level

Updated