Skip to content
Tutorials Center
My learning

Topics

CSS Reference ยท Typography

The font-kerning property

Reference for the CSS font-kerning property: how kerning adjusts spacing between letter pairs, what auto, normal and none do, with a live comparison.

Kerning adjusts the space between specific pairs of letters so text looks evenly spaced. Pairs such as "AV", "To" and "Wa" would look gappy if every glyph took its default width, so fonts contain tables of small corrections.

The font-kerning property turns those tables on or off. Browsers apply kerning in most situations anyway, so you usually use this property only to disable it, for example in monospaced demos or when you compare typefaces.

CSS
.heading {
  font-kerning: normal;
}

.mono-demo {
  font-kerning: none;
}

Try it

Kerning on and off

In the second line, letters such as A and V, T and o, W and a tuck closer together. The effect is clearest at large sizes and with serif fonts that have extensive kerning tables.

Syntax

CSS
font-kerning: auto | normal | none;
Initial value auto
Applies to All elements and text
Inherited Yes
Animatable No
Computed value As specified

Values

Value Description
auto The browser decides. Many apply kerning always, others skip it for very small text or speed reasons.
normal Kerning is applied, as long as the font includes kerning data.
none Kerning is not applied.

Usage notes

  • Rarely needed. Modern browsers kern text by default. Turning it off is useful mostly for testing or special effects.
  • Performance hints. text-rendering: optimizeSpeed can disable kerning in some browsers, while optimizeLegibility enables it; see text-rendering.
  • Not tracking. Kerning changes space between particular pairs, while letter-spacing adds the same amount everywhere. They combine.
  • Monospaced fonts. Monospaced fonts normally have no kerning data, so the property changes nothing.
  • Alternative control. font-feature-settings: "kern" 0 has the same effect but the named property is clearer; see font-feature-settings.
  • Consistency. Fonts differ in kerning quality, so a visibly poor result usually comes from the font, not the CSS.

Browser support

Supported in all current browsers.