zoukankan      html  css  js  c++  java
  • 火箭起飞

    <!DOCTYPE html>
    
    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8" />
        <title>Rock</title>
        <style type="text/css">
            body {
                background: #21122f;
            }
    
            .fire {
                width: 486px;
                height: 530px;
                position: absolute;
                left: 34px;
                top: 386px;
                transform: rotate(30deg);
                -webkit-transform: rotate(30deg);
            }
    
            .rocket {
                width: 100%;
                height: 100%;
                margin-left: 189px;
            }
    
                .rocket .bg {
                    position: relative;
                    z-index: 10;
                }
    
            .hua {
                position: absolute;
                width: 2000px;
                height: 2000px;
                left: 322px;
                top: -2000px;
            }
            .huas img:first-child {
                animation: hua 4s linear infinite;
                -webkit-animation: hua 4s linear infinite;
            }
            .huas img:last-child {
                animation: hua 4s linear infinite 2s;
                -webkit-animation: hua 4s linear infinite 2s;
            }
    
            .hua img {
                width: 2000px;
                height: 2000px;
                position: absolute;
                left: 0;
                top: 0;
            }
            @keyframes hua {
                0% {
                    transform: translate(0,0);
                }
    
                100% {
                    transform: translate(-2000px,3000px);
                }
            }
    
            @-webkit-keyframes hua {
                0% {
                    -webkit-transform: translate(0,0);
                }
    
                100% {
                    -webkit-transform: translate(-2000px,3000px);
                }
            }
        </style>
        <script type="text/javascript" src="http://dn-h6app.qbox.me/data/case/youku/js/jquery-2.1.1.min.js"></script>
        <script type="text/javascript">
            $(function () {
                window.setInterval(function () {
                    $("#fire-a").css("display", $("#fire-a").css("display") == "none" ? "block" : "none");
                    $("#fire-b").css("display", $("#fire-b").css("display") == "none" ? "block" : "none");
                }, 100);
    
            });
        </script>
    </head>
    <body>
        <div class="hua huas">
            <img src="http://dn-h6app.qbox.me/data/case/youku/images/hua.png">
            <img src="http://dn-h6app.qbox.me/data/case/youku/images/hua.png">
        </div>
        <div class="rocket">
            <div class="bg"><img src="http://dn-h6app.qbox.me/data/case/youku/images/rocket.png"></div>
            <div class="fire">
                <div class="fires" style="height: 580px; opacity: 1; display: none;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-1.png"></div>
                <div class="fires" style="height: 580px; opacity: 1; display: none;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-2.png"></div>
                <div class="fires" style="height: 580px; opacity: 1; display: none;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-3.png"></div>
                <div class="fires" style="height: 580px; opacity: 1; display: none;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-4.png"></div>
                <div class="fires" style="height: 580px; opacity: 1; display: none;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-5.png"></div>
                <div id="fire-a" class="fires" style="display: none; opacity: 1; height: 580px;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-6.png"></div>
                <div id="fire-b" class="fires" style="display: block; opacity: 1; height: 580px;"><img src="http://dn-h6app.qbox.me/data/case/youku/images/fire-7.png"></div>
            </div>
        </div>
    </body>
    </html>
  • 相关阅读:
    修改注册表启动项
    修改IP和DNS的dos命令
    屏蔽windows快捷键的方法
    本地IP,掩码,网关,DNS设置
    DevExpress的提示框
    ASP.NET如何批量保存动态生成的文本框?
    [转]SQL Server 安全性概論與無法刪除資料庫使用者的解決辦法
    如何用C#对Gridview的项目进行汇总统计?
    如何用javasript对Gridview的项目进行汇总统计?
    [转]C#如何获取客户端IP地址
  • 原文地址:https://www.cnblogs.com/goodspeed/p/4240417.html
Copyright © 2011-2022 走看看