• CSS3订单提交按钮Loading代码


    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>CSS3订单提交按钮Loading代码</title>
    <style>
    body{text-align: center}
    .grebtn{
    display: inline-block;
    padding: 0.5em 1.25em;
    border: 1px solid;
    border-radius: 2px;
    vertical-align: bottom;
    font-weight: inherit;
    border-color: #208000 #1F7F00;
    background-color: #289600;
    box-shadow: inset 0 0 1px rgba(255,255,255,.6), 0 1px #8DBF62;
    color: #fff;
    text-shadow: 0 -1px #137900;
    margin: 100px auto;
    }
    dot {
    display: inline-block;
    height: 1em; line-height: 1;
    text-align: left;
    vertical-align: -.25em;
    overflow: hidden;
    }
    dot::before {
    display: block;
    content: '...A..A.';
    white-space: pre-wrap;
    animation: dot 3s infinite step-start both;
    }
    @keyframes dot {
    33% { transform: translateY(-2em); }
    66% { transform: translateY(-1em); }
    }
    </style>
    </head>
    <body>

    <div class="grebtn">订单提交中<dot>...</dot></div>

    <div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
    <p>适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。</p>
    </div>
    </body>
    </html>

  • 相关阅读:
    libevent学习总结
    C#结构体的使用
    函数常用类
    C#函数的基础应用
    数组的应用:冒泡排序,折半查找及二维数组的应用
    作业
    复习break、continue、while、do-while的运用
    编程常用英语单词
    作业:for循环,迭代法和穷举法
    循环语句
  • 原文地址:https://www.cnblogs.com/zhoudawei/p/8952321.html
Copyright © 2020-2023  润新知