font-size-adjust CSS property specifies that font size should be chosen based on the height of lowercase letters rather than the height of capital letters.
When the first-choice of a
font-family specified by the author is unavailable font fallback occurs, that may results in bigger or smaller font size. The
font-size-adjust property is a way to preserve the readability of text in such situation. It does this by adjusting the font-size so that the x-height is the same regardless of the font used.
The following table summarizes the usages context and the version history of this property.
All elements. It also applies to
|Animatable:||Yes. See animatable properties.|
|Version:||New in CSS3|
The syntax of the property is given with:
The example below shows the
font-size-adjust property in action.
ExampleTry this code »
font-family: "DejaVu Sans", Arial, sans-serif;
The following table describes the values of this property.
|number||Specifies the aspect value used to calculate the adjusted font size.|
||No font size adjustment. Choose the size of the font based only on the
||Sets this property to its default value.|
||If specified, the associated element takes the computed value of its parent element
font-size-adjust property is not supported in most of the browsers.
font-size-adjust property is currently not supported by the most of the browsers. You should better avoid using this property.