久久资源网

纯css3沙滩伞动画特效

纯css3沙滩伞动画特效

2019-03-15 09:36:19 CSS3实例

售价:5.00积分 会员免费

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

纯css3沙滩伞动画特效

css3属性绘制插在地上的沙滩伞,遮阳伞旋转动画特效。这个css网页元素,适用于一些专题页面效果。

使用方法

1、head引入css文件

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

2、body引入HTML代码

<div class="background">
  <div class="umbrellaWrapper">
    <div class="pole"></div>
    <div class="umbrella">
      <div class="triangle triangle-1"></div>
      <div class="triangle triangle-2"></div>
      <div class="triangle triangle-3"></div>
      <div class="triangle triangle-4"></div>
      <div class="triangle triangle-5"></div>
      <div class="triangle triangle-6"></div>
      <div class="triangle triangle-7"></div>
      <div class="triangle triangle-8"></div>
      <div class="triangle triangle-9"></div>
      <div class="triangle triangle-10"></div>
      <div class="triangle triangle-11"></div>
      <div class="triangle triangle-12"></div>
    </div>
    <div class="shadowPole"></div>
    <div class="shadowUmbrella">
      <div class="triangle triangle-1"></div>
      <div class="triangle triangle-2"></div>
      <div class="triangle triangle-3"></div>
      <div class="triangle triangle-4"></div>
      <div class="triangle triangle-5"></div>
      <div class="triangle triangle-6"></div>
      <div class="triangle triangle-7"></div>
      <div class="triangle triangle-8"></div>
      <div class="triangle triangle-9"></div>
      <div class="triangle triangle-10"></div>
      <div class="triangle triangle-11"></div>
      <div class="triangle triangle-12"></div>
    </div>
  </div>
</div>

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

关注微信