字體粗細 font-weight |
瀏覽器顯現結果 |
<p style="font-weight: normal;">一般 normal (→ 400)</p> |
字一般 normal (→ 400) |
<p style="font-weight: lighter;">較細 lighter</p> |
字較細 lighter |
<p style="font-weight: bold;">粗體 bold (→ 700)</p> |
字粗體 bold (→ 700) |
<p style="font-weight: bolder;">較粗 bolder</p> |
字較粗 bolder |
<p style="font-weight: 100;">100 (字最細)</p> |
100 (字最細) |
<p style="font-weight: 200;">200 (字較細)</p> |
200 (字較細) |
<p style="font-weight: 300;">300 (字細)</p> |
300 (字細) |
<p style="font-weight: 400;">400 (字一般)(預設值 → normal)</p> |
400 (字一般) (預設值 → normal) |
<p style="font-weight: 500;">500 (字粗)</p> |
500 (字粗) |
<p style="font-weight: 600;">600 (字較粗)</p> |
600 (字較粗) |
<p style="font-weight: 700;">700 (字更粗 → bold)</p> |
700 (字更粗 → bold) |
<p style="font-weight: 800;">800 (更加粗)</p> |
800 (字更加粗) |
<p style="font-weight: 900;">900 (字最粗)</p> |
900 (字最粗) |