coderef

font-displayBaseline · Widely available

The font-display CSS descriptor sets whether to show a substitute font or nothing while a font face loads. The property manages what's known as a flash of unstyled text or flash of invisible text.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.

Browser support

DesktopChrome
1–59Not supported
60+Supportedsince Jul 25, 2017
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–57Not supported
58+Supportedsince Jan 23, 2018
Current: 157
Safari
1–11Not supported
11.1+Supportedsince Apr 12, 2018
Current: 27
MobileChrome Android
18–59Not supported
60+Supportedsince Aug 1, 2017
Current: 155
Firefox Android
4–57Not supported
58+Supportedsince Jan 22, 2018
Current: 157
Safari iOS
1–11Not supported
11.3+Supportedsince Mar 29, 2018
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: font-display.

Feature detection

There’s no simple runtime check for this feature; rely on the support table and test in your target browsers.