v150 · CSS · Typography

API Console

Mutate every text-fit input — value, font size, container width, font family, weight — and watch the browser recompute the fit in real time. Inspect what getComputedStyle() reports back, and copy the exact CSS that produces the result.

Inputs
text-fit value
Text content
Base font-size (px) 32px
Container width (px) 350px
font-family
font-weight
white-space
Live preview
Headline fills width
getComputedStyle() output