Web design
Understand variable font axes
Explore what a font’s actual variable axes change before choosing a web font.
1. Find a variable family
Choose Variable in the library’s Style filter. Not every variable font exposes weight, width or optical size, so inspect the selected face.
2. Inspect axis ranges
In Font Details, select the intended face and locate its sliders. The available ranges come from the font metadata rather than a fixed set of CSS choices.
3. Adjust one axis at a time
Try weight and, when present, width or optical size. Compare the same phrase at the intended size; axis values need not correspond to other families.
4. Export the correct CSS
Use the self-hosting CSS and adjust font-variation-settings only for supported axes. Confirm the file loads and your fallback behaves as expected.
Inspect a variable Inter face
Open Inter, select an upright style and move the wght slider through the range displayed for that file. Compare the same phrase at regular, medium and bold settings while holding size fixed. If an optical-size axis is present, change it separately and inspect small versus large lettering. Copy the CSS from Use on web and preserve the declared range rather than assuming all axes use the same scale.
Common pitfall
A variable font may have separate upright and italic files. A slider for weight does not imply width variation. Avoid asking CSS for an axis or value absent from the actual font.