font-variant-ligatures

Controls 'ligatures'—where two or more characters are merged into a single decorative shape (like 'fi' or 'fl' touching).

It is documented as part of the CSS Fonts specification.

/* Usage Example */
.code-font {
  /* Enables common and discretionary ligatures */
  font-variant-ligatures: common-ligatures discretionary-ligatures;
}

/* Syntax */
font-variant-ligatures: normal;
font-variant-ligatures: none;

/* Global values */
font-variant-ligatures: inherit;
font-variant-ligatures: initial;
font-variant-ligatures: revert;
font-variant-ligatures: revert-layer;
font-variant-ligatures: unset;
Widely available Since 2020 96% global usage

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

34+
34+
9.1+
79+
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