杰网资源 Design By www.escxy.com
                                使用HTML5的canvas画的孙悟空,CSS3画的白云飘飘。
效果图:
代码如下:
CSS Code复制内容到剪贴板- <!doctype html>
 - <html>
 - <head>
 - <meta charset="utf-8">
 - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 - <meta name="description" content="">
 - <meta name="viewport" content="width=device-width, initial-scale=1">
 - <title>HTML5+CSS3实现齐天大圣腾云驾雾</title>
 - <style type="text/css">
 - * {
 - margin: 0;
 - padding: 0;
 - border: 0;
 - }
 - html, body {
 - margin: 0;
 - }
 - @-webkit-keyframes STAR-MOVE {
 - from {
 - background-position: 0% 0%;
 - }
 - to {
 - background-position: 600% 0%;
 - }
 - }
 - @keyframes STAR-MOVE {
 - from {
 - background-position: 0% 0%;
 - }
 - to {
 - background-position: 600% 0%;
 - }
 - }
 - .wall {
 - position: absolute;
 - top: 0;
 - left: 0;
 - bottombottom: 0;
 - rightright: 0;
 - }
 - div#background {
 - background: black url('http://hovertree.com/texiao/html5/30/img/background.png') repeat-x 5% 0%;
 - background-size: cover;
 - -webkit-animation: STAR-MOVE 200s linear infinite;
 - -moz-animation: STAR-MOVE 200s linear infinite;
 - -ms-animation: STAR-MOVE 200s linear infinite;
 - animation: STAR-MOVE 200s linear infinite;
 - }
 - div#midground {
 - background: url('http://hovertree.com/texiao/html5/30/img/midground.png')repeat 20% 0%;
 - z-index: 1;
 - -webkit-animation: STAR-MOVE 100s linear infinite;
 - -moz-animation: STAR-MOVE 100s linear infinite;
 - -ms-animation: STAR-MOVE 100s linear infinite;
 - animation: STAR-MOVE 100s linear infinite;
 - }
 - div#foreground {
 - background: url('http://hovertree.com/texiao/html5/30/img/foreground.png')repeat 35% 0%;
 - z-index: 2;
 - -webkit-animation: STAR-MOVE 50s linear infinite;
 - -moz-animation: STAR-MOVE 50s linear infinite;
 - -ms-animation: STAR-MOVE 50s linear infinite;
 - animation: STAR-MOVE 50s linear infinite;
 - }#hovertreewk{position:absolute;z-index:9999;top:0px;bottombottom:0px;left:0px;rightright:0px;margin:auto;}
 - </style>
 - </head>
 - <body>
 - <div style="text-align:center;position:absolute;z-index:9;color:white"><h1>齐天大圣腾云驾雾</h1></div>
 - <div id="background" class="wall"></div>
 - <div id="midground" class="wall"></div>
 - <div id="foreground" class="wall"></div>
 - <canvas width="650" height="478" id="hovertreewk"></canvas>
 - <script src="http://hovertree.com/texiao/html5/30/js/hovertreewk.js"></script>
 - </body>
 - </html>
 
关于HTML5+Canvas+CSS3实现齐天大圣孙悟空腾云驾雾的代码就给大家介绍完毕,希望对大家有所帮助!
                                    标签:
                                        
                                齐天大圣孙悟空,,腾云驾雾
杰网资源 Design By www.escxy.com
                            
                                广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
                        免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
杰网资源 Design By www.escxy.com
                        暂无评论...
                                    稳了!魔兽国服回归的3条重磅消息!官宣时间再确认!
昨天有一位朋友在大神群里分享,自己亚服账号被封号之后居然弹出了国服的封号信息对话框。
这里面让他访问的是一个国服的战网网址,com.cn和后面的zh都非常明白地表明这就是国服战网。
而他在复制这个网址并且进行登录之后,确实是网易的网址,也就是我们熟悉的停服之后国服发布的暴雪游戏产品运营到期开放退款的说明。这是一件比较奇怪的事情,因为以前都没有出现这样的情况,现在突然提示跳转到国服战网的网址,是不是说明了简体中文客户端已经开始进行更新了呢?
                        



