Tt Font Scale Generator

Build a harmonious CSS type scale — choose your base font size, modular ratio and font family to generate a complete typographic hierarchy. Copy the CSS custom properties instantly.

Base Size (px)
Scale Ratio
Font
Unit
CSS Custom Properties
📦 50 CSS Text Effect Presets
Download all 50 presets — copy-paste ready. One-time, €5.
✓ Matching set, tested together · ✓ Commercial & client projects OK · ✓ Instant download
€5 →
🎁 Not ready to buy? Get 10 free CSS presets →

About Modular Type Scales

A modular type scale multiplies a base font size by a fixed ratio to produce each step. Common ratios include Minor Third (1.2), Major Third (1.25), Perfect Fourth (1.333) and Golden Ratio (1.618) — larger ratios create more dramatic hierarchy, smaller ones feel subtle and refined. Defining your scale as CSS custom properties (e.g. --text-lg: 1.25rem) centralizes typographic decisions and makes scaling for different viewports straightforward. A consistent scale ensures that heading sizes always feel proportionally related, which is one of the fastest ways to make a design feel more intentional and polished.

Related Tools

CSS Typography Playground 40+ Google Fonts with live size and spacing Letter Spacing Generator Fine-tune tracking, line height, font size CSS Clamp() Calculator Fluid responsive font sizes with clamp() Text Stroke Generator Outlined and hollow text effects