[ xx-small | x-small | small | medium | large | x-large | xx-large ]
On a computer screen a scaling factor of 1.2 is suggested between adjacent indexes; if the 'medium' font is 12pt, the 'large' font could be 14.4pt. Different media may need different scaling factors. Also, the user agent should take the quality and availability of fonts into account when computing the table. The table may be different from one font family to another.
Note. In CSS1, the suggested scaling factor between adjacent indexes was 1.5 which user experience proved to be too large.
[ larger | smaller ]
For example, if the parent element has a font size of 'medium', a value of 'larger' will make the font size of the current element be 'large'. If the parent element's size is not close to a table entry, the user agent is free to interpolate between table entries or round off to the closest one. The user agent may have to extrapolate table values if the numerical value goes beyond the keywords.
Default | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
8pt | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
9pt | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
9.5pt | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
10pt | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
24pt | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
0.5em | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
1.0em | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
1.5em | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
2.0em | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
xx-small | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
x-small | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
small | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
medium | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
large | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
x-large | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |
xx-large | ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 |