• css3 loading 效果1


    代码:

    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
    #box{position: relative;margin: 100px;}
    #box span{
        display: block;
        width: 9px;
        height: 5px;
        position: absolute;
        bottom: 0;
        background-color: #9b59b6;
        -webkit-animation:preloader 1.0s infinite ease-in-out;
    }
    #box span:nth-child(2){left: 11px;-webkit-animation-delay:0.2s;}
    #box span:nth-child(3){left: 22px;-webkit-animation-delay:0.4s;}
    #box span:nth-child(4){left: 33px;-webkit-animation-delay:0.6s;}
    #box span:nth-child(5){left: 44px;-webkit-animation-delay:0.8s;}
    @-webkit-keyframes preloader{
        0%{height: 5px;transform:translateY(0px);background-color: #9b59b6;}
        25%{height: 35px;transform:translateY(15px);background-color: #3498db;}
        50%{height: 5px;transform:translateY(0px);background-color: #9b59b6;}
        100%{height: 5px;transform:translateY(0px);background-color: #9b59b6;}
    }
    </style>
    </head>
    <body>
        <div id="box">
            <span></span>
            <span></span>
            <span></span>
            <span></span>
            <span></span>
        </div>
    </body>
    </html>

    效果图:

    高否?富否?帅否? 否? 滚去学习!
  • 相关阅读:
    hive日期转换函数2
    hive中的日期转换函数
    Oracle的字符连接函数 concat 和 || 的区别
    Oracle的去重函数 distinct
    Oracle之常用sql
    基于 Consul 的 Docker Swarm 服务发现
    Swift原理
    Mirantis OpenStack 8.0 版本
    vmare虚拟化解决方案
    docker网络解析
  • 原文地址:https://www.cnblogs.com/baixc/p/4430311.html
Copyright © 2020-2023  润新知