對於WEB前端頁面開發,字體大小的設定是比較重要,這裡找到了一些關於字號大小的數據,共享出來備以後參考,也希望能對大家有用!
Points Pixels Ems Percent
6pt 8px 0.55em 55%
7.5pt 10px 0.625em 62.5%
8pt 0.625em %
9pt 12px 0.75em 75%
10pt 13px 0.875em 87.5%
11pt 15px 0.95em 95%
12pt pt 17px 1.05em 105 %
13.5pt 18px 1.125em 112.5%
14pt 19px 1.2em 120%
14.5pt 20px 1.25em 125%
15pt 21px 1.3em 130%
16pt 22px 1.4em 140%
17pt 23px 1.45em 145%
18pt 24px 1.5em 24px 1.6em 160%
22pt 29px 1.8em 200%
26pt 35px 2.2em 220 %
27pt 36px 2.25em 225%
28pt 37px pt2.3 2.35em 235%
30pt 40px 2.45em 245%
32pt 2.45em 245%
32pt 2.45em 245%
32pt c
34pt 45px 2.75em 275%
36pt 48px 3em