liveBook · Manning

Variable font

A variable font is a font file containing one or more adjustable design axes, such as weight or width, within a single font resource.

How 2 Manning books explain it

CSS in Depth, Second Edition

A variable font is a font file containing one or more adjustable design axes, such as weight or width, within a single font resource.

How it is used
Uses one web-font resource to supply multiple weights while reducing downloads compared with separate font files.
How deep it goes
Defines variation axes and works through an @font-face weight range, precise weight values, and the lower-level 'wght' axis.
Examples
Shows an Open Sans WOFF2 declaration spanning weights 300–800 and an intermediate weight of 467.
What you can do after
Operate/configure it with @font-face and font-weight to select supported intermediate weights from one file.

Read how CSS in Depth, Second Edition explains variable font →

Tiny CSS Projects

A variable font is a font file that contains one or more adjustable design axes, such as weight or width, within a single font resource.

How it is used
Configures web typography by consolidating multiple font weights into one resource while preserving browser fallbacks.
How deep it goes
Explains file selection, @font-face declarations, weight ranges, italic exceptions, file-size tradeoffs, and @supports fallbacks.
Examples
Demonstrates Open Sans in a virtual credit card, combining a variable normal font with a static italic font.
What you can do after
Operate CSS font loading with @font-face and @supports while balancing weight flexibility, italic coverage, compatibility, and file size.

Read how Tiny CSS Projects explains variable font →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.