Google   








[CSS] 字體粗細 font-weight
031 喀麥隆
註冊日期:
2009/7/2 16:34
來自 異世界爪哇島
所屬群組:
會員
文章: 305
等級: 16; EXP: 33
HP: 0 / 383
MP: 101 / 16506
[文章作者] Goodz文組。爪哇
[文章網址] http://www.goodz.tw > 電腦密技館




>>> 回到《CSS代碼》目錄



字體粗細 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 (字最粗)


發表日期2009/8/22 12:26
_________________
美好的清晨一起來杯爪哇咖啡吧!






可以查看文章。
不可發表文章。
不可回覆。
不可編輯自己的文章。
不可刪除自己的文章。
不可發起投票調查。
不可在投票調查中投票。
不可上傳附件。
不可不經審核直接發表。

[進階搜索]


Goodz © 2005-2029 GP
本站會員之個人言論或行為、不代表本站之立場與看法
...