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.
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.
Also covered in
Related concepts
- variation axisuses · A variation axis is a font-defined dimension specifying an allowable range for a particular characteristic of a variable font.
- font-weightproduces · Font weight is a typographic property specifying the relative thickness or visual heaviness of text glyphs, commonly through named or numeric values.
- font stylealternative to · A font style is a stylistic variant of a typeface distinguished by properties such as weight, width, slant, or spacing.
Questions about variable font
What is 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.
Which Manning books explain variable font?
CSS in Depth, Second Edition and Tiny CSS Projects.
What is the difference between variable font and static 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. A static font is a font file containing one specific style and weight rather than a range of variable instances.
What is variable font a kind of?
Variable font is a kind of OpenType Font Variations. OpenType Font Variations is an OpenType font technology for representing multiple interpolated design variations in one font file.
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.

