CSS font-size-adjust property
CSS font-size-adjust Property
Description
The font-size-adjust property is used to improve the readability of alternative fonts.
Possible Values
- number − The aspect ratio of the first font in the font-family property. This value is used in the equation fs x (fa/aa) = as, where fs is the element’s declared font size, fa is the declared font resizing value, aa is the aspect ratio of the actual font to be used, and as is the element’s computed font size.
-
none − No resizing should be performed on the fallback font.
Applicable objects
All HTML elements.
DOM Syntax
object.style.fontSizeAdjust = "0.61";
Example
Here is an example of using this property –
<html>
<head>
</head>
<body>
<p style = "font-size-adjust:0.61;">
This text is using a font-size-adjust value.
</p>
</body>
</html>
This will produce the following result −