loading

来源:互联网 发布:java 短网址 编辑:程序博客网 时间:2024/06/14 19:42
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>你好</title></head><style>    .kline-loading-main{        position: absolute;        top: 0;        bottom: 0;        left: 0;        right: 0;    }    .kline-loading {        position: absolute;        top: 45%;        left: 50%;        text-align: center;        width: 150px;        height: 12px;        margin: -6px 0 0 -75px;    }    .kline-loading span{        display: inline-block;        width: 12px;        height: 100%;        margin-right: 3px;        border-radius: 50%;        background: #659aea;        animation: load 1.04s ease infinite;    }    span:last-child{        margin-right: 0;    }    span:nth-child(1){        animation-delay:0.13s;    }    span:nth-child(2){        animation-delay:0.26s;    }    span:nth-child(3){        animation-delay:0.39s;    }    span:nth-child(4){        animation-delay:0.52s;    }    span:nth-child(5){        animation-delay:0.65s;    }    @keyframes load{        0%{            opacity: 1;        }        100%{            opacity: 0;        }    }</style><body><div class="kline-loading-main">    <div class="kline-loading">        <span></span>        <span></span>        <span></span>        <span></span>        <span></span>    </div></div></body><script></script></html>
原创粉丝点击