微信扫码登录 ×
html5 css3吃竹子的熊猫动画

html5 css3吃竹子的熊猫动画

收藏
html5 css3吃竹子的熊猫动画
scene.js基于css3绘制熊猫吃竹子,瘫坐在竹子旁的熊猫动画特效。

使用方法:

1、head引入css文件

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

2、body引入部分

<div class="container">
  <div class="bamboo joint2 bamboo1">
    <div class="joint"></div>
    <div class="joint"></div>
  </div>
  <div class="bamboo-group bamboo-group1">
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint"></div>
      <div class="joint">
        <div class="leaf right right60 light"></div>
        <div class="leaf right right90"></div>
      </div>
      <div class="joint"></div>
    </div>
  </div>
  <div class="bamboo-group bamboo-group2">
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint"></div>
      <div class="joint">
        <div class="leaf right right60 light"></div>
        <div class="leaf right right90"></div>
      </div>
      <div class="joint"></div>
    </div>
  </div>
  <div class="bamboo-group bamboo-group3 dark">
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint"></div>
      <div class="joint">
        <div class="leaf right right60 light"></div>
        <div class="leaf right right90"></div>
      </div>
      <div class="joint"></div>
    </div>
  </div>
  <div class="bamboo-group bamboo-group4 dark">
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint"></div>
      <div class="joint">
        <div class="leaf right right60 light"></div>
        <div class="leaf right right90"></div>
      </div>
      <div class="joint"></div>
    </div>
    <div class="bamboo">
      <div class="joint">
        <div class="leaf left left60 light"></div>
        <div class="leaf left left30"></div>
      </div>
      <div class="joint"></div>
    </div>
  </div>
  <div class="panda">
    <div class="body">
      <div class="arm left">
        <div class="forearm">
          <div class="hand"></div>
        </div>
      </div>
      <div class="leg left">
        <div class="foot"></div>
      </div>
      <div class="belly"> </div>
      <div class="leg right">
        <div class="foot"></div>
      </div>
      <div class="head">
        <div class="ear left"></div>
        <div class="ear right"></div>
        <div class="cheek right"></div>
        <div class="face">
          <div class="eye left"></div>
          <div class="eye right"></div>
        </div>
      </div>
      <div class="arm right">
        <div class="forearm">
          <div class="hand">
            <div class="bamboo joint2">
              <div class="joint"></div>
              <div class="joint"></div>
            </div>
          </div>
        </div>
      </div>
      <div class="head front">
        <div class="mouth"></div>
        <div class="nose">
          <div class="mustache left"></div>
          <div class="mustache right"></div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src='js/scene.js'></script> 
<script src='js/effects.js'></script> 
<script src="js/script.js"></script>

使用声明

1. 本站所有素材(未指定商用),仅限学习交流。
2. 会员在本站下载的原创商用和VIP素材后,只拥有使用权,著作权归原作者及17素材网所有。
3. 原创商用和VIP素材,未经合法授权,请勿用于商业用途,会员不得以任何形式发布、传播、复制、转售该素材,否则一律封号处理。
4. 本平台织梦模板仅展示和个人非盈利用途,织梦系统商业用途请预先授权。
5. 如果素材损害你的权益请联系客服QQ:3264130392给予处理。

x
×
×

注册

QQ注册 立即下载 微信注册 立即下载

签到成功!

已连续签到1天,连续签到3天可获得50积分

知道了