font-optical-sizing
Widely availableSince 202097% of users
For variable fonts, this property automatically adjusts the shape of letters to be more readable at small sizes or more elegant at large sizes.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since March 2020. Widely available since September 2022.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- Yes
- Applies to
- all elements and text
- Animation type
- discrete
Quick example
.small-text {
/* Automatically optimizes the font for small sizes */
font-optical-sizing: auto;
font-size: 10px;
}Values
autononefont-optical-sizing browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
79+
62+
13.1+
17+Mobile
79+Android
62+Android
13.4+iOS