久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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怎么設(shè)置橫線的陰影

      css設(shè)置橫線陰影的方法:1、給元素添加“width:橫線長(zhǎng)度值;height:橫線粗細(xì)值;background:橫線顏色”樣式來(lái)繪制橫線;2、給橫線元素添加“box-shadow:水平陰影位置 垂直陰影位置;”樣式設(shè)置橫線元素的陰影即可。

      css怎么設(shè)置橫線的陰影

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

      css怎么設(shè)置橫線的陰影

      在之前的文章《如何使用css繪制橫線豎線》中我們講到了怎樣去通過(guò)css畫橫線,下面我們來(lái)看一下怎樣給橫線添加陰影。

      在css中,可以利用box-shadow屬性設(shè)置橫線的陰影,box-shadow 屬性向框添加一個(gè)或多個(gè)陰影。

      語(yǔ)法為:

      box-shadow: h-shadow v-shadow blur spread color inset;

      其中:

      css怎么設(shè)置橫線的陰影

      示例如下:

      <!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>     .div1{         width:200px;         height:3px;         background-color:#000;         box-shadow: 10px 5px 5px #888888;     }     </style> </head> <body> <div class="div1"></div> </body> </html>

      輸出結(jié)果:

      css怎么設(shè)置橫線的陰影

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

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