CSS Portal

CSS font-kerning Property

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee
font-kerning
CSS PropertyBrowser support for this property varies across browsers.
Updated 1st January 2026

Description

The font-kerning property controls whether the browser uses a font’s built-in kerning information to adjust spacing between specific pairs of glyphs. Kerning is a pairwise correction supplied by the font designer to reduce visually awkward gaps (for example, between "A" and "V") and is distinct from uniform spacing adjustments such as letter-spacing. When enabled, kerning applies subtle, context-sensitive shifts that preserve the intended shapes and optical relationships of letters, improving typographic color and perceived rhythm.

Under the hood, kerning can come from different tables and shaping rules inside a font; shaping engines and layout systems consult those tables and apply the pair adjustments during text shaping and layout. Those adjustments are small but can be important at display sizes or in tightly set headlines. Kerning interacts with advanced font features: if you need to control OpenType features directly (for example turning specific positioning features on or off), that is typically done via font-feature-settings, and the final appearance will result from the combination of those feature settings and the font’s kerning data.

In practical use, kerning is most noticeable on larger display text and in tight tracking or when specific letter pairs occur frequently; for body text at small sizes the visual difference is subtler but still contributes to overall readability. Designers sometimes disable kerning in specific contexts (such as monospaced UI elements or all-caps labels) and prefer to apply explicit spacing with letter-spacing or to use font feature controls in carefully crafted type systems. Also consider how kerning works across scripts: some scripts and complex shaping systems rely on different positioning mechanisms, so kerning behavior and availability can vary by language and font.

When testing typographic adjustments, always inspect text at multiple sizes, weights, and letter combinations to see real-world effects. Kerning can affect line breaks, justification and optical balance; small pair adjustments can change whether a short word moves to the next line or how a headline reads at a glance. For rendering and performance considerations in tightly constrained environments, you may also want to be aware of how the browser’s rendering choices and optimization strategies influence the final output—some rendering-related controls can be examined via text-rendering.

Definition

Initial value
auto
Applies to
All elements
Inherited
Yes
Computed value
As specified
Animatable
No
JavaScript syntax
object.style.fontKerning

Interactive Demo

The rusty swing set creaked a LONELY lullaby in the TWILIGHT, shadows LENGTHENING like grasping fingers across the dew-kissed grass.

Syntax

font-kerning: auto | normal | none

Values

  • autoSpecifies that kerning is applied at the discretion of the user agent.
  • normalSpecifies that kerning is applied.
  • noneSpecifies that kerning is not applied.

Example

<div class="container">
<h2>font-kerning examples</h2>
<div class="grid">
<div class="sample">
<div class="label">font-kerning: auto</div>
<div class="text kern-auto">AVAILABILITY</div>
</div>
<div class="sample">
<div class="label">font-kerning: normal</div>
<div class="text kern-normal">AVAILABILITY</div>
</div>
<div class="sample">
<div class="label">font-kerning: none</div>
<div class="text kern-none">AVAILABILITY</div>
</div>
</div>
</div>
/* Example styles demonstrating font-kerning */
.container {
  font-family: Georgia, "Times New Roman", serif;
  padding: 24px;
  background: #ffffff;
  color: #111111;
}

h2 {
  margin: 0 0 16px 0;
  font-size: 18px;
}

.grid {
  display: flex;
  gap: 16px;
}

.sample {
  background: #f7f7f9;
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 180px;
  text-align: center;
}

.label {
  font-size: 13px;
  color: #555555;
  margin-bottom: 8px;
}

.text {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
}

.kern-auto {
  font-kerning: auto;
}

.kern-normal {
  font-kerning: normal;
}

.kern-none {
  font-kerning: none;
}
Open in editor

Browser Support

The following information will show you the current browser support for the CSS font-kerning property. Hover over a browser icon to see the version that first introduced support for this CSS property.

Browser support for this property varies across browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee