Set a base text size, scale, and font to preview a complete typographic hierarchy and its CSS.
h1 3.8147rem 61.0352px 45.7764pt weight:400
h2 3.0518rem 48.8281px 36.6211pt weight:400
h3 2.4414rem 39.0625px 29.2969pt weight:400
h4 1.9531rem 31.25px 23.4375pt weight:400
h5 1.5625rem 25px 18.75pt weight:400
h6 1.25rem 20px 15pt weight:400
p 1rem 16px 12pt weight:normal
small 0.8rem 12.8px 9.6pt weight:normal
Generated CSS
This tool builds a modular typographic scale from a base paragraph size. The base size can be entered in pixels or points.
Text sizes step above and below the base according to the selected ratio. Supported type scales:
The preview reports equivalent rem, pixel, and point sizes; rem values assume the selected base size. The generated CSS uses rem units.
See also:
CSS Unit Converter
Google Variable Fonts
Google Fonts CSS API v2
TypeNetwork - Variable Fonts