font-variation-settingsBaseline · Widely available
The font-variation-settings CSS property sets an "axis of variability" on a variable font, such as weight, optical size, or a custom axis defined by the typeface designer. When possible, use other CSS font properties, such as font-weight: bold. Also known as variable fonts.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 5, 2018. Widely available since Mar 5, 2021.
Browser support
DesktopChrome
1–61Not supported
62+Supportedsince Oct 17, 2017
Current: 155Edge
12–16Not supported
17+Supportedsince Apr 30, 2018
Current: 154Firefox
1–61Not supported
62+Supportedsince Sep 5, 2018
Current: 157Safari
1–10.1Not supported
11+Supportedsince Sep 19, 2017
Current: 27MobileChrome Android
18–61Not supported
62+Supportedsince Oct 24, 2017
Current: 155Firefox Android
4–61Not supported
62+Supportedsince Sep 5, 2018
Current: 157Safari iOS
1–10.3Not supported
11+Supportedsince Sep 19, 2017
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: font-variation-settings.
Feature detection
CSS · check before using
@supports (font-variation-settings: initial) {
/* styles that rely on font-variation-settings */
}
/* or in JavaScript */
if (CSS.supports("font-variation-settings", "initial")) {
// use it
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| @font-face.font-variation-settings | 140 | 140 | 62 | ✕ | 140 | 62 | ✕ |
| font-variation-settings | 62 | 17 | 62 | 11 | 62 | 62 | 11 |