CSS font-size-adjust Property

CSS font-size-adjust Property


CSS font-size-adjust Property

Adjusts the current font's aspect ratio.

It is used when the first font is not available then it can be useful and gives you better control of font sizes then it uses alternate fonts.

The font-size-adjust property is used to improve the control of alternate font choices.

Syntax -

font-size-adjust: number|none|initial|inherit;

Now we will see the values with their descriptions -

number It defines the aspect value to use
none There is no font size adjustment, and this is the default value.
initial This sets this property to its default value.
inherit Inherits this property from its parent element.

Now we will see the Example -

 

Output -