css 3

Icon

A comprehensive CSS 3 reference guide, tutorial, and blog
Are you a CSS expert? Want to contribute? Contact us

CSS FONT-SIZE-ADJUST

Specifies an aspect value for an element that will preserve the x-height of the first-choice font. If the aspect value is high, the font will be legible when it is set to a smaller size.

Example

h2 {font-size-adjust: 0.58}

 

Possible Values

Value Description
none Do not preserve the font’s x-height if the font is unavailable
number Defines the aspect value ratio for the font
   

The formula to use:
font-size of first-choice font*(font-size-adjust/aspect value of available font) = font-size to apply to available font

Example:

If 14px Verdana (aspect value of 0.58) was unavailable, but an available font had an aspect value of 0.46, the font-size of the substitute would be 14 * (0.58/0.46) = 17.65px

 

 

2 Responses

  1. shamim akhter says:

    can this font size adjust is visible in all type of browser

  2. Sue Jaymes says:

    I would also like to know browser support for this?
    Anyone?
    Thanks

Leave a Reply

Pages

Sponsors


CSS3.com



Please help CSS3.com stay alive and running

Bad Behavior has blocked 2090 access attempts in the last 7 days.