What is the CSS font-kerning property?

Overview

The font-kerning property in CSS is used to set the contextual adjustment or control the use of kerning information.

Syntax


font-kerning: auto|normal|none;

Property values

  • auto: It is the default value. The browser will automatically determine that whether to use the kerning property or not.
  • normal: It is used to ensure that font-kerning is applied.
  • none: It is used to ensure that font-kerning is not applied.

Code

The basic HTML and CSS code to demonstrate the use of the font-kerning property is written below:

Font-kerning property is set to normal.

Summary

In this example, we can see that we have set the font-kerning property as normal. We can also change its value in the editor above.

Free Resources