css3属性绘制太空背景和火箭单击并按住鼠标触发提速器,在屏幕上移动鼠标以更改方向效果特效。
使用方法:
1、head引入css文件
<link rel="stylesheet" href="css/style.css">
2、body引入HTML代码
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="hover-area"></div>
<div class="star-field">
<div class="stars stars-sm"></div>
<div class="stars stars-md"></div>
<div class="stars stars-lg"></div>
</div>
<div class="ship">
<div class="wrapper">
<div class="body side left"></div>
<div class="body main">
<div class="wing left"></div>
<div class="wing right"></div>
<div class="booster"></div>
<div class="exhaust"></div>
</div>
<div class="body side right"></div>
</div>
</div>