Choose a ratio suited to your product density
Open CSS Type Scale Generator and compare Minor Third (1.200) for dense apps, Major Third (1.250) for balanced SaaS, and Perfect Fourth (1.333) or Golden Ratio (1.618) for editorial landing pages.
Click Customize to preview your own headline phrase across all six levels.
Configure base size, weight, and fluid scaling
In Shape and Shadow, set Base body font-size (15px–18px), Heading font-weight (600–800), and negative Display tracking (-0.025em).
Enable Export fluid clamp() responsive tokens in Text so mobile screens automatically step down to a gentler ratio.
A 1.333 desktop ratio looks great on 1440px monitors but makes mobile H1 wrap awkwardly; our Fluid mode automatically uses a gentler mobile ratio at 360px!
Keep H1/H2 around 1.12–1.2 line-height and body paragraphs around 1.65 for clean optical grouping.
Copy your complete typographic stylesheet
Review :root tokens (--text-sm through --text-3xl) paired with clean h1–h4, body, and small rules.
Copy or download the .css file directly into your global stylesheet.
Ready to use CSS Type Scale Generator?
Open CSS Type Scale Generator in your browser—100% private on your device with zero sign-up and copy-ready CSS, HTML, :root tokens, and Tailwind code. Related CSS studios: CSS Fluid Clamp() Calculator, CSS Gradient Text Generator, UI Style Kit Builder & Combiner.
CSS Type Scale Generator FAQs
Practical frontend details for accessible, cross-browser CSS output.
How is each step in a modular type scale computed?
Each step multiplies (or divides for small) your base body size by ratio ^ step—for example 16px × 1.25^4 = 39px for H1.
Which ratio is safest when starting a new SaaS design system?
1.250 (Major Third) with a 16px base yields crisp, familiar steps (13px, 16px, 20px, 25px, 31px, 39px).
Can I add gradient color to my top H1 display step?
Yes—combine --text-3xl with CSS Gradient Text Generator for hero headlines!