久久资源网

css3卡通皮卡丘气球动画特效

css3卡通皮卡丘气球动画特效

2019-03-20 22:43:33 CSS3实例

售价:5.00积分 会员免费

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

css3卡通皮卡丘气球动画特效

纯css3绘制卡通皮卡丘带着气球漂浮在空中动画特效

使用方法

1、head引入css文件

<link rel="stylesheet" href="css/style.css">

2、body引入HTML代码

<div class="container pika">
	<div class="pika-head">
		<div class="pika-head-face">
			<div class="pika-eye pika-eye-left"></div>
			<div class="pika-eye pika-eye-right"></div>
			<div class="pika-nose"></div>
			<div class="pika-mouth"></div>
		</div>
		<div class="pika-ear pika-ear-left"></div>
		<div class="pika-ear pika-ear-right"></div>
	</div>
	<div class="pika-body">
		<div class="pika-body-body"></div>
		<div class="pika-arm pika-arm-left"></div>
		<div class="pika-arm pika-arm-right"></div>
		<div class="pika-leg pika-leg-left"></div>
		<div class="pika-leg pika-leg-right"></div>
		<div class="pika-tail"></div>
		<div class="strings">
			<div class="string"></div>
			<div class="string"></div>
		</div>
	</div>
	<div class="balloons">
		<div class="balloon cyan">
			<div class="string"></div>
		</div>
		<div class="balloon red">
			<div class="string"></div>
		</div>
		<div class="balloon pink">
			<div class="string"></div>
		</div>
		<div class="balloon blue">
			<div class="string"></div>
		</div>
	</div>
</div>

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

关注微信