CSS font-size-adjust
The CSS font-size-adjust property is used for scaling the x-height of your font. This can be useful, because, for a given size, some fonts are harder to read than others. You can use font-size-adjust to adjust the x-height to make fonts more legible.
| Syntax: |
font-size-adjust: <value>
|
| Possible Values: |
- none
- number - refers to the aspect number of the first choice font. The available fonts will be scaled according to the following formula:
y(a/a') = c where:
y = 'font-size' of first-choice font
a' = aspect value of available font
c = 'font-size' to apply to available font
For example, if 12px Georgia (with an aspect value of 0.50) was unavailable and an available font had an aspect value of 0.40, the font-size of the substitute would be 12 * (0.50/0.40) = 15px.
- inherit
|
| Initial Value: |
none
|
| Applies to: |
All elements
|
| Inherited: |
Yes
|
| Media: |
Visual
|
| Example: |
p {font-size-adjust: 0.58}
|
Enjoy this website?
- Share
- Add this page to your Favorites
- Link to this page (copy/paste into your own website or blog):
- Link to Quackit using one of these banner ads.
- Help support Quackit by making a donation
Oh, and thank you for supporting Quackit!