htm5+css3+js的動畫效果

來源:互聯網
上載者:User

標籤:att   效果   off   javascrip   points   meta   attr   gradient   apt   

<!DOCTYPE html><html><head>    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />    <title>聖誕主題</title>    <link rel=‘stylesheet‘ href=‘http://img.mukewang.com/down/566a38a90001f17d00000000.css‘ />    <script type="text/javascript" src="http://img.mukewang.com/down/566a38f000016f0900000000.js"></script></head><body>    <section class="container">        <!-- 第一幅畫面 -->        <section class="page-a bg-adaptive">            <!-- 男孩 -->            <div class="chs-boy chs-boy-deer"></div>            <!-- 月亮 -->            <div class="moon"></div>            <!-- 雲 -->            <div class="cloudy"></div>            <!-- 聖誕樹 -->            <figure class="tree"></figure>            <!-- 星星 -->            <svg viewBox="0 0 512 486">                <defs>                    <linearGradient id="star" x1="0%" y1="0%" x2="100%" y2="0%">                        <stop offset="0%" stop-color="#FCF0BC"></stop>                        <stop offset="0%" stop-color="#FCF0BC"></stop>                    </linearGradient>                </defs>                <polygon style="fill: url(#star);" points="256.814,12.705 317.205,198.566 512.631,198.566 354.529,313.435 414.918,499.295 256.814,384.427 98.713,499.295 159.102,313.435 1,198.566 196.426,198.566 "></polygon>            </svg>            <!-- 窗戶 -->            <div class="window wood">                <div class="window-bg"></div>                <div class="window-content">                    <div class="window-left"></div>                    <div class="window-right"></div>                </div>            </div>        </section>        <!-- 第二幅畫面 -->        <section class="page-b bg-adaptive">            <!-- 貓 -->            <figure class="cat"></figure>            <!-- 小女孩 -->            <figure class="girl"></figure>            <!-- 聖誕男孩 -->            <figure class="christmas-boy-head"></figure>            <figure class="christmas-boy boy-walk"> </figure>            <!-- 旋轉木馬 -->            <div id="carousel">                <figure id="spinner"></figure>            </div>        </section>        <!-- 第三幅畫面 -->        <section class="page-c bg-adaptive">            <!-- 月亮 -->            <div class="moon"></div>            <!-- 雲 -->            <div class="cloudy"></div>            <!-- 星星 -->            <svg viewBox="0 0 512 486">                <defs>                    <linearGradient id="star" x1="0%" y1="0%" x2="100%" y2="0%">                        <stop offset="0%" stop-color="#FCF0BC"></stop>                        <stop offset="0%" stop-color="#FCF0BC"></stop>                    </linearGradient>                </defs>                <polygon style="fill: url(#star);" points="256.814,12.705 317.205,198.566 512.631,198.566 354.529,313.435 414.918,499.295 256.814,384.427 98.713,499.295 159.102,313.435 1,198.566 196.426,198.566 "></polygon>            </svg>            <!-- 聖誕樹 -->            <figure class="tree treefix"></figure>            <!-- 鹿 -->            <figure class="deer"></figure>            <!-- 窗戶關閉 -->            <div class="window wood">                <!-- <div class="window-bg"></div> -->                <div class="window-content" data-attr="red">                    <div class="window-scene-bg"></div>                    <div class="window-close-bg"></div>                    <div class="window-left hover"></div>                    <div class="window-right hover"></div>                </div>            </div>            <!-- 雪花 -->            <canvas id="snowflake" style="position:absolute;z-index:999;"></canvas>        </section>    </section></body></html>

  

<!DOCTYPE html><html>
<head>    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />    <title>聖誕主題</title>    <link rel=‘stylesheet‘ href=‘http://img.mukewang.com/down/566a38a90001f17d00000000.css‘ />    <script type="text/javascript" src="http://img.mukewang.com/down/566a38f000016f0900000000.js"></script></head>
<body>    <section class="container">        <!-- 第一幅畫面 -->        <section class="page-a bg-adaptive">            <!-- 男孩 -->            <div class="chs-boy chs-boy-deer"></div>            <!-- 月亮 -->            <div class="moon"></div>            <!-- 雲 -->            <div class="cloudy"></div>            <!-- 聖誕樹 -->            <figure class="tree"></figure>            <!-- 星星 -->            <svg viewBox="0 0 512 486">                <defs>                    <linearGradient id="star" x1="0%" y1="0%" x2="100%" y2="0%">                        <stop offset="0%" stop-color="#FCF0BC"></stop>                        <stop offset="0%" stop-color="#FCF0BC"></stop>                    </linearGradient>                </defs>                <polygon style="fill: url(#star);" points="256.814,12.705 317.205,198.566 512.631,198.566 354.529,313.435 414.918,499.295 256.814,384.427 98.713,499.295 159.102,313.435 1,198.566 196.426,198.566 "></polygon>            </svg>            <!-- 窗戶 -->            <div class="window wood">                <div class="window-bg"></div>                <div class="window-content">                    <div class="window-left"></div>                    <div class="window-right"></div>                </div>            </div>        </section>        <!-- 第二幅畫面 -->        <section class="page-b bg-adaptive">            <!-- 貓 -->            <figure class="cat"></figure>            <!-- 小女孩 -->            <figure class="girl"></figure>            <!-- 聖誕男孩 -->            <figure class="christmas-boy-head"></figure>            <figure class="christmas-boy boy-walk"> </figure>            <!-- 旋轉木馬 -->            <div id="carousel">                <figure id="spinner"></figure>            </div>        </section>        <!-- 第三幅畫面 -->        <section class="page-c bg-adaptive">            <!-- 月亮 -->            <div class="moon"></div>            <!-- 雲 -->            <div class="cloudy"></div>
            <!-- 星星 -->            <svg viewBox="0 0 512 486">                <defs>                    <linearGradient id="star" x1="0%" y1="0%" x2="100%" y2="0%">                        <stop offset="0%" stop-color="#FCF0BC"></stop>                        <stop offset="0%" stop-color="#FCF0BC"></stop>                    </linearGradient>                </defs>                <polygon style="fill: url(#star);" points="256.814,12.705 317.205,198.566 512.631,198.566 354.529,313.435 414.918,499.295 256.814,384.427 98.713,499.295 159.102,313.435 1,198.566 196.426,198.566 "></polygon>            </svg>
            <!-- 聖誕樹 -->            <figure class="tree treefix"></figure>            <!-- 鹿 -->            <figure class="deer"></figure>            <!-- 窗戶關閉 -->            <div class="window wood">                <!-- <div class="window-bg"></div> -->                <div class="window-content" data-attr="red">                    <div class="window-scene-bg"></div>                    <div class="window-close-bg"></div>                    <div class="window-left hover"></div>                    <div class="window-right hover"></div>                </div>            </div>            <!-- 雪花 -->            <canvas id="snowflake" style="position:absolute;z-index:999;"></canvas>        </section>    </section></body>
</html>

 

htm5+css3+js的動畫效果

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.