CSS3纸屑飘落生日蛋糕特效代码下载


CSS3纸屑飘落生日蛋糕特效代码下载
CSS3纸屑飘落生日蛋糕特效代码下载以及纸屑飘落、生日蛋糕等js/jquery网页特效代码下载。

1. 引入CSS

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

2. 引入JS

<script  src="js/script.js"></script>

3. HTML代码

<div class="container">
  <div class="cake">
    <div class="tier tier-1">
      <div class="filling"></div>
      <div class="icing-group">
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
      </div>
    </div>
    <div class="tier tier-2">
      <div class="filling"></div>
      <div class="icing-group">
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
      </div>
    </div>
    <div class="tier tier-3">
      <div class="filling"></div>
      <div class="icing-group">
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
        <div class="icing"></div>
      </div>
    </div>
    <div class="candles">
      <div class="candle">
        <div class="flame">
          <div class="flame-in"></div>
        </div>
      </div>
    </div>
  </div>
</div>

相关推荐

发表评论

相关文章