久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      在CSS中字體加粗要怎么做?

      在CSS中字體加粗要怎么做?

      字體加粗

      font-weight 屬性設(shè)置文本的粗細(xì)。

      使用 bold 關(guān)鍵字可以將文本設(shè)置為粗體。 ( 推薦學(xué)習(xí):CSS基礎(chǔ)教程 )

      關(guān)鍵字 100 ~ 900 為字體指定了 9 級(jí)加粗度。如果一個(gè)字體內(nèi)置了這些加粗級(jí)別,那么這些數(shù)字就直接映射到預(yù)定義的級(jí)別,100 對(duì)應(yīng)最細(xì)的字體變形,900 對(duì)應(yīng)最粗的字體變形。數(shù)字 400 等價(jià)于 normal,而 700 等價(jià)于 bold。

      如果將元素的加粗設(shè)置為 bolder,瀏覽器會(huì)設(shè)置比所繼承值更粗的一個(gè)字體加粗。與此相反,關(guān)鍵詞 lighter 會(huì)導(dǎo)致瀏覽器將加粗度下移而不是上移。

      實(shí)例

      <html> <head> <style type="text/css"> p.normal {font-weight: normal} p.thick {font-weight: bold} p.thicker {font-weight: 900} </style> </head>  <body> <p class="normal">This is a paragraph</p>  <p class="thick">This is a paragraph</p>  <p class="thicker">This is a paragraph</p> </body>  </html>

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)