html5绘制星空下一排整齐宇航员迈着大步进入宇宙飞船的动画场景。
使用方法
1、head引入css文件
<link rel="stylesheet" href="css/style.css"/>2、body引入部分
<div class="glitters"> <div class="glitter g1"></div> <div class="glitter g2"></div> <div class="glitter g3"></div> <div class="glitter g4"></div> <div class="glitter g5"></div> <div class="glitter g6"></div> <div class="glitter g7"></div> <div class="glitter g8"></div> </div> <div class="wrapper"> <div class="container"> <div class="planet"> <div class="spaceship"> <div class="body"> <div class="partial left"></div> <div class="partial right"></div> <div class="wing left"></div> <div class="wing right"></div> <div class="wing center"></div> </div> </div> <div class="crews"></div> <div class="door back"><div class="entrance"></div></div> <div class="bridge"></div> </div> </div> </div> <script type="text/javascript" src='js/scene.js'></script> <script type="text/javascript" src='js/shape.js'></script> <script type="text/javascript" src="js/script.js"></script>