久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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設(shè)置不顯示元素的方法:1、使用【display: none;】方法;2、將【display:none;】改成【visibility: hidden;】

      css如何不顯示元素

      本教程操作環(huán)境:windows7系統(tǒng)、css3版,DELL G3電腦。

      css設(shè)置不顯示元素的方法:

      (1)display: none;

      <!DOCTYPE html> <html> <head>     <meta charset="utf-8" />     <style type="text/css">     .box {         width: 160px;         height: 100px;         background: #cad5eb;     }     .title {         height: 40px;         background: #54a962;     }     .content {         height: 60px;         background: #5650bb;     }     </style> </head> <body>     <div class="box">         <h3 class="title">標題</h3>         <p class="content">內(nèi)容</p>     </div> </body> </html>

      css如何不顯示元素

      設(shè)置display: none;后的效果如下顯示

      css如何不顯示元素

      可以看出原來的標題部分不見了,而內(nèi)容部分占領(lǐng)了原來標題的部分

      (2)visibility: hidden;

      還是上面的例子,只是這次將display:none;改成visibility: hidden; 但結(jié)果卻大不相同

      css如何不顯示元素

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