WebCraft

TAG ยท type

Typography in CSS

Balanced headings, fluid sizes, text wrapped around shapes, hyphenation and underlines placed by hand. 11 elements, each rendered live with its source and the one thing that breaks it.

  1. A fallback font that does not move the page size-adjust
  2. Type snapped to a baseline grid round()
  3. An underline you actually drew text-underline-offset
  4. Type on rails, not on stops clamp()
  5. A heading that sits on its own cap height text-box: trim-both
  6. An outline that does not eat the letters paint-order: stroke fill
  7. Type that wraps to a curve, not a box shape-outside
  8. Type painted with a gradient background-clip: text
  9. A heading that breaks where a typesetter would text-wrap: balance
  10. Paragraphs with no orphan last line text-wrap: pretty
  11. Hyphenation in a narrow column hyphens: auto