CSS font-size-adjust Property
CSS font-size-adjust
property specifies that the font size should be chosen depending on the size of its lowercase letters, rather than the uppercase letters.
Usages
The following table outline the usages and version history of this property.
Default value: | none |
Applies to: | All elements |
Inherited: | Yes |
Version: | CSS1 |
JavaScript Syntax: | object.style.fontSizeAdjust = "0.74" |
Syntax
Here is a syntax for the CSS font-size-adjust
property
font-size-adjust: family-name | generic-family |initial | inherit;
Property Values
The following table describes the values of this property.
Value | Description |
---|---|
family-name | Specifies the prioritized list of font family name For example, "Arial", Times" and "Helvetica" are font families |
generic-family | Specifies the prioritized list of generic font family name For example, serif, sans-serif, cursive, fantasy, monospace are generic font families |
initial | Sets default value of this property |
inherit | Inherits this property from its parent element |
Examples
The example below shows to sets line height such as normal, number, length, percentage values.
.one, .two {
font-size-adjust: 0.74;
}
Browser Compatibility
- Google Chrome
Not supported - Mozilla Firefox
3+ - Internet Explorer
Not supported - Opera
Not supported - Safari
Not supported
Note: Here details of browser compatibility with version number may be this is bug and not supported. But recommended to always use latest Web browser.