CSS Font

  • font-family(文字字形)

    • sans-serif (無襯線體)
    • serif (襯線體)
    • monospace (等寬體)
    • cursive (手寫體)
    • fantasy (幻想體)
  • font-size(文字大小)

    • em,cm,px,%
    • small,medium,large
    • inherit
  • font-weight(文字粗細)

    • normal(一般)
    • bold(粗體)
    • bloder(比粗體粗)
    • lighter(細體)
    • 100~900(數字越大越粗,<500似乎不明顯)
  • font-style(文字樣式)

    • normal(一般)
    • italic(斜體字)
    • oblique(同italic)
    • initial(預設值)
    • inherit(繼承父元素設置)
  • color(文字顏色)