Fluid Typography
Font sizes that scale smoothly with viewport width.
Intermediate
font-size: clamp(1.5rem, 1rem + 2vw, 3rem); — never smaller or larger than the limits.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.