font-feature-settings

A low-level property that gives you control over OpenType font features like ligatures, kerning, and advanced typographic alternates.

It is documented as part of the CSS Fonts specification.

/* Usage Example */
.fancy-text {
  /* Enables discretionary ligatures and small caps */
  font-feature-settings: ";dlig" 1, "smcp" 1;
}

/* Syntax */
font-feature-settings: normal;

/* Global values */
font-feature-settings: inherit;
font-feature-settings: initial;
font-feature-settings: revert;
font-feature-settings: revert-layer;
font-feature-settings: unset;
Widely available Since 2017 96% global usage

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

48+
34+
9.1+
15+
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