CSS font-kerning Property

You are Here:

CSS font-kerning Property

CSS font-kerning sets the use of the kerning information stored in a font.


HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ font-family: serif; font-size: 23px; } div:nth-child(2){ font-kerning: none; color: red; } div:nth-child(3){ font-kerning: normal; color: blue; } div:nth-child(3){ font-kerning: auto; color: green; } </style> </head> <body> <h1>CSS font-kerning Property</h1> <div>AV T. ij</div> <div>AV T. ij</div> <div>AV T. ij</div> </body> </html>


Using CSS

element{ font-kerning: none; }

Using Javascript



No, font-kerning property is not animatable. CSS Animatable Properties Reference.

Default Value

Default value for CSS font-kerning property is auto.

Property Value

The following table provides a list of values for CSS font-kerning property.

autoThe browser will determine whether font kerning should be applied or not.
normalSpecifies that font kerning is applied.
noneSpecifies that font kerning is not applied.

Using JavaScript

In the following example, we will demonstrate how to change the CSS font-kerning property of an element using JavaScript.


HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <body> <h1>CSS font-kerning Property</h1> <p>AV T. ij</p> <button onclick="myFunction()">Click Me</button> <script> var x = document.getElementsByTagName("p")[0]; function myFunction(){ x.style.fontKerning = "none"; } </script> </body> </html>


Hi Developers, we almost covered 98.7% of CSS Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in CSS.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author