給大美女加上一束移動的光束

來源:互聯網
上載者:User

標籤:idt   www.   背景   tran   name   init   oct   blog   :hover   

     <!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>     .img {     display: block;     position: relative;     width: 800px;     height: 450px;     margin: 0 auto;     }           .img:before {     content: "";     position: absolute;           width: 100px;     height: 120%;                 top: 0;     /*初始位置*/     left: -150px;     overflow: hidden;           /*控制背景色的漸層色*/     background: -moz-linear-gradient(left, rgba(255, 255, 255, 0)0, rgba(255, 255, 255, .2)50%, rgba(255, 255, 255, 0)100%);     background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, .2)), color-stop(100%, rgba(255, 255, 255, 0)));     background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0)0, rgba(255, 255, 255, .2)50%, rgba(255, 255, 255, 0)100%);     background: -o-linear-gradient(left, rgba(255, 255, 255, 0)0, rgba(255, 255, 255, .2)50%, rgba(255, 255, 255, 0)100%);           /*控制光束傾斜度*/     -webkit-transform: skewX(-25deg);     -moz-transform: skewX(-25deg)           }           .img:hover:before {     left: 150%;     transition: left 2s ease 0s;     }           </style>     </head>           <body>     <a href="#" class="img"><img     src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1508071812303&di=39df35e061f362e6cd1e1f432b6af0d9&imgtype=0&src=http%3A%2F%2Fwww.pp3.cn%2Fuploads%2F201505%2F2015062602.jpg" width="800">     </a>     </body>           </html>

 

給大美女加上一束移動的光束

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.