• 自己写的光圈动画


    .circle_normal {
         18px;
        height: 18px;
        margin: 0 auto;
        background: #45de3c;
        cursor: pointer;
        display: inline-block;
        position: relative;
        border-radius: 50%;
    }
    
     .circle_normal:after {
        content: '';
        position: absolute;
         70px;
        height: 70px;
        border-radius: 50%;
        /*border:1px solid rgba(69, 222, 60,0.3);*/
        /*box-shadow: 0 0 1px 1px rgba(69, 222, 60,0.5);*/
        top: 50%;
        left: 50%;
        margin-top: -35px;
        margin-left: -38px;
        z-index: 3;
        opacity: 1;
         -webkit-animation: halo 2s infinite linear;
        -moz-animation: halo 2s infinite linear;
        animation: halo 2s infinite linear; 
    } 
     .circle_normal:before {
        content: '';
        position: absolute;
         70px;
        height: 70px;
        border-radius: 50%;
        /*border:1px solid rgba(69, 222, 60,0.3);*/
        /*box-shadow: 0 0 1px 1px rgba(69, 222, 60,0.5);*/
        top: 50%;
        left: 50%;
        margin-top: -35px;
        margin-left: -38px;
        z-index: 3;
        opacity: 1;
        -webkit-animation: haloo 2s infinite linear;
        -moz-animation: haloo 2s infinite linear;
        animation: haloo 2s infinite linear;
    } 
     @-webkit-keyframes halo {
            0% {
                opacity: 0;
                -webkit-transform: scale(0.1,0.1);
            }
            100% {
                opacity: 1;
                box-shadow: 0 0 1px 4px rgba(69, 222, 60,1);
                -webkit-transform: scale(1,1);
            }
        }
        @keyframes halo {
            0% {
                opacity: 0;
                transform: scale(0.1,0.1);
            }
            100% {
                opacity: 1;
                box-shadow: 0 0 1px 4px rgba(69, 222, 60,1);
                transform: scale(1,1);
            }
        }
     @-webkit-keyframes haloo {
            0% {
                opacity: 1;
                box-shadow: 0 0 1px 4px rgba(69, 222, 60,1);
                -webkit-transform: scale(1,1);
            }
            100% {
                opacity: 0;
                box-shadow: 0 0 1px 2px rgba(69, 222, 60,0.2);
                -webkit-transform: scale(1.4,1.4);
            }
        }
        @keyframes haloo {
            0% {
                opacity: 1;
                box-shadow: 0 0 1px 4px rgba(69, 222, 60,1);
                transform: scale(1,1);
            }
            100% {
                opacity: 0;
                box-shadow: 0 0 1px 2px rgba(69, 222, 60,0.2);
                transform: scale(1.4,1.4);
            }
        }
  • 相关阅读:
    转:二进制文件和文本文件的区别详解
    python sorted函数,字典排序
    office word交叉引用,文献尾注,公式自动编号
    list作为实参传给函数
    转:python深拷贝和浅拷贝的区别
    文件夹中含有子文件夹,修改子文件夹中的图像存储格式(python实现)
    python遍历文件夹中所有文件夹和文件,os.walk
    cf div3 B Obtaining the String
    cf div3 B Obtaining the String
    poj 3281(最大流)
  • 原文地址:https://www.cnblogs.com/rage-the-dream/p/6721246.html
Copyright © 2020-2023  润新知