久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css中不加粗怎么寫

      css中可利用font-weight屬性來讓元素不加粗,寫法為“元素{font-weight:normal;}”;font-weight屬性用于設(shè)置文本的粗細(xì)樣式,當(dāng)值設(shè)置為“normal”時,元素會被設(shè)成標(biāo)準(zhǔn)字符樣式,也就是不加粗的樣式。

      css中不加粗怎么寫

      本教程操作環(huán)境:windows10系統(tǒng)、CSS3&&HTML5版、Dell G3電腦。

      css中不加粗怎么寫

      在css中可以利用font-weight屬性來給元素設(shè)置不加粗的樣式,font-weight屬性用于設(shè)置文本的粗細(xì)。

      屬性值如下圖所示:

      css中不加粗怎么寫

      下面我們通過示例來看一下怎樣使元素不加粗,示例如下:

      <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <meta http-equiv="X-UA-Compatible" content="ie=edge">     <title>Document</title>     <style type="text/css"> p {font-weight: bold} </style> </head> <body> <p class="normal">這一段不想加粗</p> <p>This is a paragraph</p> <p>This is a paragraph</p> </body> </html>

      輸出結(jié)果:

      css中不加粗怎么寫

      此時并不想讓其中一段話加粗,只需要給這段話添加font-weight: normal樣式即可:

      <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <meta http-equiv="X-UA-Compatible" content="ie=edge">     <title>Document</title>     <style type="text/css"> p {font-weight: bold} p.normal {font-weight: normal} </style> </head> <body> <p class="normal">這一段不想加粗</p> <p>This is a paragraph</p> <p>This is a paragraph</p> </body> </html>

      輸出結(jié)果:

      css中不加粗怎么寫

      (學(xué)習(xí)視頻分享:css視頻教程)

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