coderef

font-synthesisBaseline · Widely available

The font-synthesis CSS shorthand property disables all font synthesis except the given kinds. To disable a specific kind of font synthesis, instead use the longhand properties such as font-synthesis-style and font-synthesis-weight.

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

Browser support

DesktopChrome
1–96Not supported
97+Supportedsince Jan 4, 2022
Current: 155
Edge
12–96Not supported
97+Supportedsince Jan 6, 2022
Current: 154
Firefox
1–33Not supported
34+Supportedsince Dec 1, 2014
Current: 157
Safari
1–8Not supported
9+Supportedsince Sep 30, 2015
Current: 27
MobileChrome Android
18–96Not supported
97+Supportedsince Jan 4, 2022
Current: 155
Firefox Android
4–33Not supported
34+Supportedsince Dec 1, 2014
Current: 157
Safari iOS
1–8Not supported
9+Supportedsince Sep 16, 2015
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-synthesis.

Feature detection

CSS · check before using
@supports (font-synthesis: initial) {
  /* styles that rely on font-synthesis */
}

/* or in JavaScript */
if (CSS.supports("font-synthesis", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (5). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
font-synthesis979734997349
font-synthesis.position✕✕118✕✕118✕
font-synthesis.small-caps97979310.1979310.3
font-synthesis.style97973410.1973410.3
font-synthesis.weight97973410.1973410.3