QQ客服
当前位置 : 首页 > 代码 > html5 css3 > css3实例 > 纯css3沙滩伞动画特效

纯css3沙滩伞动画特效

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

使用方法:

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>
[声明]本站素材来自用户分享,仅限学习交流请勿用于商业用途。如损害你的权益请联系客服QQ:2447402004给予处理。
举报×
举报原因:

相关代码

二维码
意见反馈
×
×

注册

QQ注册 立即下载 新浪注册 立即下载

签到成功!

已连续签到1天,签到3天将获得积分VIP1天

知道了