亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長(zhǎng)資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備

    JQ + CSS實(shí)現(xiàn)浪漫表白必備頁面

    效果圖:

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備

    圖片素材 :

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備用JQ + CSS實(shí)現(xiàn)浪漫表白必備用JQ + CSS實(shí)現(xiàn)浪漫表白必備

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備用JQ + CSS實(shí)現(xiàn)浪漫表白必備用JQ + CSS實(shí)現(xiàn)浪漫表白必備

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備

    用JQ + CSS實(shí)現(xiàn)浪漫表白必備 推薦:《js高級(jí)教程》

    代碼如下,復(fù)制即可使用:

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>浪漫表白 By:阿杜</title>      <style type = "text/css">                  *{             margin:0px;             padding:0px;             }         html,body{             height:100%;             }             body{             font-family:"微軟雅黑";        <!-- 此處需要自己修改圖片路徑 -->             background:url(images/b1j.jpg) no-repeat fixed;             background-size:cover;                          }             .top{             width:500px;             height:150px;             margin:50px auto;             font-size:30px;             color:#ea544d;             }                      .box{             width:310px;             height:310px;             margin:0px auto;             perspective:800px;             margin-top:-40px;             }             .box .wrap{             width:210px;             height:210px;             position:relative;             transform-style:preserve-3d;             animation:play 10s linear infinite;             }         .box .wrap ul li{             list-style:none;             position:absolute;             top:0;left:0;             }             @keyframes play{             from{transform:rotateY(0deg);}             to{transform:rotateY(360deg);}             }                      .xin,.xin1{             position:absolute;             }                      .xin{             animation:xin 8s linear infinite;             }             @keyframes xin{             0%{top:0%;left:50%;opacity:1;}             20%{top:20%;left:80%;opacity:0;}             40%{top:50%;left:50%;opacity:1;}             60%{top:80%;left:40%;opacity:0;}             80%{top:50%;left:20%;opacity:1;}             100%{top:10%;left:0%;opacity:0;}             }             .xin1{             animation:xin 15s linear infinite;             }                      @keyframes xin1{             0%{top:10%;right:50%;opacity:1;}             20%{top:50%;right:80%;opacity:0;}             40%{top:40%;right:50%;opacity:1;}             60%{top:60%;right:40%;opacity:0;}             80%{top:50%;right:20%;opacity:1;}             100%{top:0%;right:0%;opacity:0;}             }         .text{             width:60%;             margin:0 auto;             margin-top:-60px;             font-size:20px;             line-height:30px;             font-weight:500;             animation:color 10s linear infinite;             }         @keyframes color{             0%{color:#039;}             20%{color:#9C3;}             40%{color:#6C6;}             60%{color:#66F;}             80%{color:#FC9;}             100%{color:#9FF;}             }                                              </style>      </head>  <body>          <!--S top-->     <div class = "top">         <marquee behavior="alternate">Love Page By:阿杜</marquee>     </div>     <!--E top-->          <!--S box-->     <div class = "box">         <div class = "wrap">        <!-- 此處需要自己修改圖片路徑 -->             <ul>                 <li><img src="images/1.gif" height="210px" width="210px"/></li>                 <li><img src="images/2.gif" height="210px" width="210px"/></li>                 <li><img src="images/3.gif" height="210px" width="210px"/></li>                 <li><img src="images/4.gif" height="210px" width="210px"/></li>                 <li><img src="images/5.gif" height="210px" width="210px"/></li>                 <li><img src="images/6.gif" height="210px" width="210px"/></li>             </ul>         </div>     </div>     <!--E box -此處需要自己修改圖片路徑-->     <div class = "xin">         <img src="images/xin.png" width="100px" height="100px"/>     </div>          <div class = "xin1">         <img src="images/xin.png" width="100px" height="100px"/>     </div>          <div class = "text">         <p id = "test"></p>     </div>    <!-- 此處需要自己修改音頻路徑 -->     <embed src="sound/bg.mp3" hidden="true"/>     <!-- 此處需要自己修改JQ路徑 -->     <script type = "text/javascript" src="js/jquery.min.js"></script>          <script type = "text/javascript">                  $(function(){                          $(".wrap ul li").each(function(i){                     var Deg = 360/$(".wrap ul li").size();                     $(this).css({                         "transform":"rotateY("+Deg*i+"deg) translateZ(220px)"                     });                                  });             });                          window.onload = function autoplay(){                 var b = ['能夠遇見你,對(duì)我來說是最大的幸福。有了你,我的生活變的無限寬廣,有了你,世界變得如此迷人。你是世界,世界是你。我愿意用自己的心,好好的陪著你,愛著你。陪你到你想去的地方,用心走完我們?nèi)松挠嘞碌穆贸?。在未來的日子里,也許什么都無法確定,但唯一可以確定的是,我愛的人是你,無論現(xiàn)在還是將來,我想我這里都會(huì)是你最溫暖的港灣,都是為你遮風(fēng)避雨的城墻。無論狂風(fēng),無論暴雨。我都會(huì)陪在你的身旁,讓你不會(huì)感到絲毫的擔(dān)心和惶恐。我會(huì)珍惜和你在一起的每一刻,每一分,每一秒。誰叫你是我最愛的人,誰叫你是第二幸福的人(因?yàn)閻凵纤闶亲钚腋5牧?,哈哈)。為了你,我愿用自己的雙手為你撐起一片艷陽!'];                 //  分隔字符串                 var str = b.join(""),i=0,arr = str.split('');                                  var ms_stop = setInterval(function(){                 //  設(shè)置自動(dòng)出現(xiàn)文字                     if(i>str.length-1){                         i = 0;                         document.getElementById('test').innerHTML='';                         }                         document.getElementById('test').innerHTML=document.getElementById('test').innerHTML+arr[i];                         i++;                     },200);             }                  </script> </body> </html>

    如果您有更好的點(diǎn)子或

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