This example shows how to set font sizes using percent ("%") units.
If you want this size in pixels (px) | Declare this percent (%) |
---|---|
10 | 77 |
11 | 85 |
12 | 93 |
13 | 100 |
14 | 108 |
15 | 116 |
16 | 123.1 |
17 | 131 |
18 | 138.5 |
19 | 146.5 |
20 | 153.9 |
21 | 161.6 |
22 | 167 |
23 | 174 |
24 | 182 |
25 | 189 |
26 | 197 |
Because CSS examples are susceptible to other CSS on the page, this example is only available in a new window at the above link.