CSS部分:

    .box{

    margin:100pxauto;

    width:50px;

    height:60px;

    }

    .box>div{

    background-color:#67CF22;

    height:100%;

    width:6px;

    display:inline-block;

    -webkit-animation:stretchdelay1.2sinfiniteease-in-out;

    animation:stretchdelay1.2sinfiniteease-in-out;

    }

    .box.r2{

    -webkit-animation-delay:-1.1s;

    animation-delay:-1.1s;

    }

    .box.r3{

    -webkit-animation-delay:-1.0s;

    animation-delay:-1.0s;

    }

    .box.r4{

    -webkit-animation-delay:-0.9s;

    animation-delay:-0.9s;

    }

    .box.r5{

    -webkit-animation-delay:-0.8s;

    animation-delay:-0.8s;

    }

    @-webkit-keyframesstretchdelay{

    0%,

    40%,

    100%{

    -webkit-transform:scaleY(0.4)

    }

    20%{

    -webkit-transform:scaleY(1.0)

    }

    }

    @keyframesstretchdelay{

    0%,

    40%,

    100%{

    transform:scaleY(0.4);

    -webkit-transform:scaleY(0.4);

    }

    20%{

    transform:scaleY(1.0);

    -webkit-transform:scaleY(1.0);

    }

    }

怎么用纯CSS3实现页面loading加载动画效果怎么用纯CSS3实现页面loading加载动画效果

以上是“怎么用纯CSS3实现页面loading加载动画效果”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!


本文标题:怎么用纯CSS3实现页面loading加载动画效果
网站链接:http://tjjierui.cn/article/iipdoo.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP