A responsive type scale gives every text style a clear role while allowing sizes and spacing to adapt across screens. This guide provides a reusable checklist, example values, CSS patterns, and a testing workflow for building website typography that remains readable and consistent from mobile to desktop.
Overview
A website typography scale is a set of connected text styles rather than a list of arbitrary font sizes. It defines how captions, body text, labels, headings, and display text relate to one another. When the scale is planned as a system, a redesign is easier to maintain and individual pages are less likely to develop inconsistent spacing or oversized headings.
Start by choosing a base size for body text, then assign a line height, weight, and spacing rule to each text role. The exact values depend on the typeface, content density, brand character, and audience. A serif with a large x-height may need different settings from a compact sans serif, even when both use the same nominal size.
For most projects, use rem for the core size system so text scales relative to the document root. Use unitless line-height values where possible, and reserve fixed pixel values for details that must remain tightly controlled. For fluid headings, CSS clamp() can interpolate between a minimum and maximum size without requiring a separate rule for every viewport.
Starter responsive type-scale template
| Role | Mobile starting point | Desktop starting point | Line height | Letter spacing | CSS guidance |
|---|---|---|---|---|---|
| Display | 2.5rem | 4rem | 1.05–1.15 | -0.03em to -0.01em | Use fluid sizing; test short and long titles |
| H1 | 2rem | 3rem | 1.1–1.2 | -0.02em to 0 | Keep the maximum controlled on narrow layouts |
| H2 | 1.5rem | 2.25rem | 1.15–1.25 | -0.015em to 0 | Match heading size to section depth |
| H3 | 1.25rem | 1.75rem | 1.2–1.3 | 0 | Check that it remains distinct from body text |
| Body | 1rem | 1.125rem | 1.45–1.65 | 0 | Set a readable measure, commonly with a max-width in ch |
| Small text | 0.875rem | 0.9375rem | 1.4–1.55 | 0.01em to 0.02em | Do not use for essential information alone |
| Caption | 0.75rem | 0.8125rem | 1.35–1.5 | 0.01em to 0.03em | Check contrast and legibility at actual size |
These values are a starting framework, not a universal prescription. Change the scale when the chosen font looks cramped, when headings wrap awkwardly, or when the hierarchy is difficult to scan. A type scale generator can help compare ratios, but visual testing in real layouts should make the final decision.
Checklist by scenario
For a content-heavy website
- Set body text before choosing heading sizes.
- Limit paragraph width so long lines do not dominate the page.
- Use a modest heading contrast if articles contain many nested sections.
- Define spacing between paragraphs, lists, images, and headings as part of the type system.
- Test an article with short paragraphs, long paragraphs, links, quotations, and lists.
For a marketing or landing page
- Use a larger display style only where the message benefits from emphasis.
- Set a separate maximum width for hero headings so they do not become very wide on desktop.
- Check buttons and navigation labels at their smallest viewport size.
- Test headlines with realistic copy rather than placeholder text.
- Reduce size or adjust the line break before allowing a headline to create excessive vertical space.
For a design system or product interface
- Name styles by purpose, such as
text-body,heading-lg, orlabel-sm, rather than by one-off page locations. - Document font family, weight, size, line height, letter spacing, and usage restrictions together.
- Include states for labels, errors, helper text, navigation, tables, and data-dense components.
- Use fewer steps when a long scale creates styles that are difficult to distinguish.
- Test the system with localization, zoom, keyboard navigation, and user-generated content.
For a brand using a custom or variable font
- Confirm that the web font files and fallback stack produce similar dimensions.
- Test weight changes across browsers and supported devices.
- Consider variable axes such as weight or optical size only when they solve a defined design problem.
- Document fallback behavior and file formats alongside the type scale.
For additional implementation context, see Variable Fonts Explained and the guide to TTF, OTF, WOFF, and WOFF2.
What to double-check
- Hierarchy: Can a reader identify the page title, section headings, supporting text, and labels without relying on color alone?
- Wrapping: Does each heading still look intentional when it wraps to two or three lines? Test the longest likely title, not just the sample headline.
- Spacing: Is the space after a heading smaller than the space before the next section? Related elements should appear related.
- Measure: Does body copy fit comfortably within its container? A useful width in
chmay be a better starting point than a full-width text block, but inspect the actual typeface. - Responsive behavior: Does the scale change gradually, or does a breakpoint create an abrupt jump? Both approaches can work, but the transition should be deliberate.
- Accessibility: Can users enlarge text without losing content or causing overlap? Check contrast, focus states, link distinction, and content at increased zoom.
- Performance and fallback: Does the layout remain usable before the selected font loads? Compare fallback metrics and watch for unexpected shifts.
A practical CSS pattern might look like font-size: clamp(2rem, 1.25rem + 3vw, 4rem);. Treat the middle value as a tuning control, not a magic formula. Test it at narrow mobile widths, common laptop widths, wide desktop widths, and any container sizes used by the design.
Common mistakes
- Choosing sizes before choosing the font: The same numeric scale can appear dramatically different across typefaces.
- Making every level too large: If H2 and H3 compete with the page title, the hierarchy loses meaning.
- Using letter spacing as a repair tool: Tracking can refine a heading, but it cannot fix unsuitable font size, width, or line height.
- Ignoring vertical rhythm: A consistent type scale still feels disorganized when margins are chosen independently for every component.
- Testing only the desktop comp: Mobile wrapping often reveals problems hidden by wide layouts.
- Using small text for critical content: Captions and helper text should support the interface, not carry information users must read.
- Hard-coding too many exceptions: If every page needs a custom size, revise the core scale or add a documented semantic style.
Use the accessible typography checklist when reviewing readability, and keep font licensing documented with the project. A visually successful type scale still needs appropriate font usage rights; the font license audit checklist can support that review.
When to revisit
Review the type scale before a major redesign, a seasonal campaign with new content patterns, or a design-system update. It is also worth revisiting when the brand font changes, a variable font is introduced, new breakpoints are added, or analytics and usability feedback show that users struggle to scan or read key content.
For a repeatable review, collect representative pages and run this short checklist:
- Open a page at mobile, tablet, laptop, and wide desktop widths.
- Inspect the longest title, densest body copy, smallest label, and most complex component.
- Check wrapping, line height, spacing, contrast, zoom behavior, and font loading.
- Compare the live page with the documented tokens or design-tool styles.
- Record only changes that solve a demonstrated problem, then update the CSS variables, design tokens, and component documentation together.
Keep the scale as a living part of the website’s design system rather than a one-time desktop decision. When typography, spacing, and responsive behavior are reviewed together, the result is easier to read, easier to build, and more consistent to maintain.