CSS | font-kerning Property
This property is used to control the usage of the Kerning Information that has been stored in the Font. Kerning defines how letters are spaced. This property will have no visible effect for those fonts that do not have a kerning information.
Syntax:
font-kerning: auto|normal|none;
Property:
- auto: It is the default value. The Browser decides whether font-kerning is applied or not.
- normal: It is used to specify that font-kerning is apply normally on the browsers.
- none: It is used to specify that font-kerning is not applied.
Example:
<!DOCTYPE html> <html> <head> <style> div { font-family: serif; font-size: 20px; font-weight:bold; } div.geeks { font-kerning: normal; } div.SUDO { font-kerning: auto; } div.gfg { font-Kerning:none; } h1 { color:green; } body { text-align:center; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2>The font-kerning Property</h2> <h3>font-kerning:normal;</h3> <div class="geeks">GeeksforGeeks: A computer science portal for Geeks</div> <h3>font-kerning:auto;</h3> <div class="sudo">GeeksforGeeks: A computer science portal for Geeks</div> <h3>font-Kerning:none;</h3> <div class="gfg">GeeksforGeeks: A computer science portal for Geeks</div> </body> </html> |
chevron_right
filter_none
Output:

Recommended Posts:
- CSS | transition-property Property
- CSS | all Property
- CSS | right Property
- CSS | top Property
- CSS | tab-size Property
- CSS | visibility Property
- CSS | flex Property
- CSS | max-width Property
- CSS | column-gap Property
- CSS | border-top Property
- HTML | DOM Bdo dir Property
- CSS | min-height Property
- CSS | max-height Property
- CSS | margin-right Property
- CSS | grid Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



