css font-size-adjust属性


  Translation results:

font

英[fɒnt] 美[fɑ:nt]

n. Font; font; baptistery (located in a church, often made of stone ); (same font and size) a pair of typefaces

Plural: fonts

size

英[saɪz] 美[saɪz]

n. Scale; size, size; glue, paste; huge, large number

vt. Arrange by size; change the size of…; glue, sizing; paint

adj. A certain size

Third person singular: sizes Plural: sizes Present participle: sizing Past tense: sized Past participle: sized

adjust

UK[əˈdʒʌst] US[əˈdʒʌst]

vt.& vi. (Change...to) adapt, adjust, correct; align (telescope, etc.), align, correct, calibrate (mechanical, etc.); Accounting (profit and loss); [guarantee] assessment (compensation claim)

Third person singular: adjusts Present participle: adjusting Past tense: adjusted Past participle: adjusted

css font-size-adjust属性syntax

Function: Specify an aspect value for an element so that the x-height of the preferred font can be maintained.

Note: The ratio between the height of the font's lowercase letter "x" and the height of the "font-size" is called the aspect value of a font. When a font has a high aspect value, it is easier to read when the font is set to a small size. Example: Verdana's aspect value is 0.58 (meaning that when the font size is 100px, its x-height is 58px). The aspect value for Times New Roman is 0.46. This means that Verdana is easier to read than Times New Roman at small sizes.

Note: Internet Explorer does not support the font-size-adjust attribute.

css font-size-adjust属性example

<html>
<head>
<style type="text/css">
h1 {font-size-adjust: 0.50}
h2 {font-size-adjust: 0.40}
p {font-size-adjust: 0.60}
</style>
</head>
<body>

<h1>php中文网</h1>
<h2>php视频教程</h2>
<p>php程序员词典</p>

</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A