zoukankan      html  css  js  c++  java
  • css 点点加载demo

    
    content字符生成配合CSS3 animation的点点点loading效果实例
    
    代码:
    CSS代码:
    
    dot {
        display: inline-block; 
        height: 1em; line-height: 1;
        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); }
    }
    
    HTML代码:
    
    <a href="javascript:" class="grebtn">订单提交中<dot>...</dot></a>
    
    效果:
    订单提交中...
    Designed & Powerd by zhangxinxu
    更多demo:更多加载地址:http://tawian.io/text-spinners/
  • 相关阅读:
    五一集训——图论
    Luogu P3942 将军令
    8.14 Round 1
    8.10 Round 1
    8.9 Round 1
    8.7 Round 2
    8.7 Round 1
    8.6 Round 1
    8.5 Round 2
    FHQ-Treap
  • 原文地址:https://www.cnblogs.com/sxz2008/p/6378539.html
Copyright © 2011-2022 走看看