css 控制字型

來源:互聯網
上載者:User
font-weight -- 定義字型的粗細

  • 取值: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit

    • normal:正常,等同於 400
    • bold:粗體,等同於 700
    • bolder:更粗
    • lighter:更細
    • 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900:字型粗細的絕對值
    • inherit:繼承
  • 引用網址:http://www.dreamdu.com/css/property_font-weight/
  • 初始值: normal
  • 繼承性: 是
  • 適用於: 所有元素
  • font:中文"字型"的意思.weight:中文"重量,分量"的意思.
相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.