久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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怎樣設(shè)置圖片透明度使圖片逐漸消失

      css中,可利用“l(fā)inear-gradient()”和“rgba()”函數(shù)來設(shè)置圖片透明度使圖片逐漸消失,語法為“l(fā)inear-gradient(方向,rgba(255,255,255,1),rgba(255,255,255,0));”。

      css怎樣設(shè)置圖片透明度使圖片逐漸消失

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

      css怎樣設(shè)置圖片透明度使圖片逐漸消失

      <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>123</title> <style> .div1 { box-sizing: border-box; width: 400px; height: 320px; font-size: 22px; padding-top: 100px; overflow: hidden; background: no-repeat center top / 100% 100%; background-image: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)), url(1118.02.png) } </style> <div class="div1">設(shè)置透明度漸變效果的圖片</div> </body> </html>

      輸出結(jié)果:

      css怎樣設(shè)置圖片透明度使圖片逐漸消失

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

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