font-synthesis-style

Controls whether the browser is allowed to 'fake' an italic style by slanting the text if a real italic font file isn't available.

It is documented as part of the CSS Fonts specification.

/* Usage Example */
.original-look {
  /* Prevents the browser from faking italics */
  font-synthesis-style: none;
}

/* Syntax */
font-synthesis-style: auto;
font-synthesis-style: none;

/* Global values */
font-synthesis-style: inherit;
font-synthesis-style: initial;
font-synthesis-style: revert;
font-synthesis-style: revert-layer;
font-synthesis-style: unset;
Widely available Since 2023 94% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.

97+
111+
16.4+
97+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC