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