CSS font-kerning Property

Description

The font-kerning property controls font kerning. Kerning is a change in the interval between certain letter combinations to maintain the density of letters in the text. This is especially important for letters that have oblique lines, like A, Y, W, V. Kerning information is stored in the font itself, and if the font does not support this feature, then the font-kerning property will not affect the text.

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

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

<h1>Lorem ipsum dolor sit amet</h1> 
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
h1 { 
   font-kerning: normal; 
} 

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
X793332209
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
4.4.333322092.0

Last updated by CSSPortal on: 1st November 2019