The font-synthesis property controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces. If 'weight' is not specified, user agents must not synthesize bold faces and if 'style' is not specified user agents must not synthesize italic faces. A value of 'none' disallows all synthetic faces.

  • Initial valueweight style
  • Applies toAll elements
  • InheritedYes
  • MediaVisual
  • Computed valueAs specified
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript syntaxobject.style.fontSynthesis
Formal syntax: none | [ weight || style ]

font-synthesis: none;
font-synthesis: weight;
font-synthesis: style;
font-synthesis: weight style;
  • noneBrowser is not allowed to synthesize bold or oblique font when not available.
  • weightBrowser is only allowed to synthesize bold font when not available but not oblique.
  • styleBrowser is only allowed to synthesize oblique font when not available but not bold.
  • weight styleBrowser is allowed to synthesize both bold and oblique.
.class {
  font-synthesis: weight;
}
?Firefox?Explorer?Chrome?Safari?Opera


Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.