Tutorials Point


  CSS Home

  CSS Reference
  Pseudo Classes & Elements

Copyright © 2014 by tutorialspoint



  Home     References     Discussion Forums     About TP  

CSS - font-size-adjust


previous next AddThis Social Bookmark Button


Advertisements

Description:

The font-size-adjust property is used to improve the legibility of alternate font choices.

Possible Values:

  • number: The aspect value of the first font listed in the value of the property font-family. This value is used in the equation fs x (fa/aa) = as, where fs is the declared value of font-size for the element, fa is the declared value of font-size-adjust, aa is the aspect value of the actual font to be used, and as is the computed font-size for the element.
  • none: No size adjustments should be made to alternate font choices.

Applies to:

All the HTML elements

DOM Syntax:

object.style.fontSizeAdjust="0.61";

Example:

Here is the example using this property:

<p style="font-size-adjust:0.61;">
This text is using a font-size-adjust value.
</p>

This will produce following result:

This text is using a font-size-adjust value.

To Become more comfortable - Do Online Practice



previous next Printer Friendly

Advertisements


  

Advertisements