久久资源网

html5宇宙飞船人员动画实例

html5宇宙飞船人员动画实例

2019-06-23 09:54:56 HTML5实例

售价:5.00积分 会员免费

特别声明:资源售价只是赞助,不代表代码或者素材本身点数。收取费用仅维持本站的日常运营所需!

html5宇宙飞船人员动画实例

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>

资源出处:https://www.moyublog.com/codes/6926.html

关注微信