font-optical-sizingBaseline · Widely available
The font-optical-sizing CSS property sets whether text rendering is optimized for viewing at different sizes.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 24, 2020. Widely available since Sep 24, 2022.
Browser support
DesktopChrome
1–78Not supported
79+Supportedsince Dec 10, 2019
Current: 155Edge
12–16Not supported
17+Supportedsince Apr 30, 2018
Current: 154Firefox
1–61Not supported
62+Supportedsince Sep 5, 2018
Current: 157Safari
1–13Not supported
13.1+Supportedsince Mar 24, 2020
Current: 27MobileChrome Android
18–78Not supported
79+Supportedsince Dec 17, 2019
Current: 155Firefox Android
4–61Not supported
62+Supportedsince Sep 5, 2018
Current: 157Safari iOS
1–13Not supported
13.4+Supportedsince Mar 24, 2020
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-optical-sizing.
Feature detection
CSS · check before using
@supports (font-optical-sizing: initial) {
/* styles that rely on font-optical-sizing */
}
/* or in JavaScript */
if (CSS.supports("font-optical-sizing", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (3). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| font-optical-sizing | 79 | 17 | 62 | 13.1 | 79 | 62 | 13.4 |
| font-optical-sizing.auto | 79 | 17 | 62 | 13.1 | 79 | 62 | 13.4 |
| font-optical-sizing.none | 79 | 17 | 62 | 13.1 | 79 | 62 | 13.4 |