久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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更改div中的字體大小

      在css中,可以利用“font-size”屬性更改div中的字體大小,該屬性的作用就是設(shè)置元素的字體大小,只需要給div元素添加“font-size:字體大小值;”樣式即可。

      怎樣用css更改div中的字體大小

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

      怎樣用css更改div中的字體大小

      可以通過(guò)font-size屬性更改div中的字體大小,font-size 屬性用于可設(shè)置字體的尺寸。

      示例如下:

      <!DOCTYPE html> <html> <head> <meta charset="utf-8">  <title>php中文網(wǎng)(php.cn)</title> <style> .div1{font-size:250%;} .div2{font-size:100%;} </style> </head> <body>     <div class="div1">div中的字體大小設(shè)置</div>     <div class="div2">div中的字體大小設(shè)置</div> </body> </html>

      輸出結(jié)果:

      怎樣用css更改div中的字體大小

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

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