Typography

CSS typography controls the appearance of text: font-family (with fallback fonts), font-size, font-weight, line-height, letter-spacing, text-align. Good typography improves readability, with comfortable line spacing and a reasonable line length.

Example

body {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

Related concepts

The whole glossary