zoukankan      html  css  js  c++  java
  • css实现圆圈波动

    <div class="circle" style="display: inline-block;position: relative;">
        <div class="wave0 wave"></div>
        <div class="wave1 wave"></div>
        <div class="wave2 wave"></div>
        <div class="wave3 wave"></div>
        <div class="wave4 wave"></div> 
    </div>
    .circle{
            position: relative;
        /* margin: 0 auto; */
    /*    left: 40%;
        bottom: 20px;*/
    }
    .wave{
        position:absolute;
        border-radius: 100%;
        top:calc((100% - 50px)/2);
        left:calc((100% - 50px)/2);
         width: 50px;
        height: 50px;
    }
    .wave0{
       background:#ffffff;
        border:1px solid black;
        z-index: 2
        -webkit-animation: sk-scaleout 2s infinite ease-in-out;
        animation: sk-scaleout 2s infinite ease-in-out;
        animation-delay:2s;
    }
    .wave1{
      background:#aeaeae;
      border:1px solid black;
      z-index:3;
      -webkit-animation: sk-scaleout 2s infinite ease-in-out;
      animation: sk-scaleout 2s infinite ease-in-out;
      animation-delay:2s;
    }
    .wave2{
      background:#ffffff;
      border:1px solid black;
      z-index:4;
      -webkit-animation: sk-scaleout 4s infinite ease-in-out;
        animation: sk-scaleout 4s infinite ease-in-out;
        animation-delay:2s;
    }
    .wave3{
      background:#4d4d4d;
      border:1px solid black;
      z-index:5;
      -webkit-animation: sk-scaleout 6s infinite ease-in-out;
        animation: sk-scaleout 6s infinite ease-in-out;
        animation-delay:2s;
    }
    .wave4{
      background:#3c3c3c;
      border:1px solid black;
      z-index:6;
      -webkit-animation: sk-scaleout 8s infinite ease-in-out;
        animation: sk-scaleout 8s infinite ease-in-out;
        animation-delay:2s;
    }
  • 相关阅读:
    JS重写alert,保证弹窗错误的友好性
    wpf窗体中复合控件焦点控制
    mybatis特殊字符转义
    SpringMVC HandlerMethodArgumentResolver自定义参数转换器
    IntelliJ IDEA创建maven web项目
    shiro app
    Linux查看日志定位问题
    Flask中使用Flask-Migrate扩展迁移数据库
    flask + pymysql操作Mysql数据库
    HTTP
  • 原文地址:https://www.cnblogs.com/Esther-yan/p/13167628.html
Copyright © 2011-2022 走看看