zoukankan      html  css  js  c++  java
  • 纯css loading动效

    .loading {margin: 100px;
        3px; height:3px;
        border-radius: 100%;                      /* 圆角 */
        box-shadow: 0 -10px 0 1px #333,           /* 上, 1px 扩展 */
                    10px 0px #333,                /* 右 */    
                    0 10px #333,                  /* 下 */
                    -10px 0 #333,                 /* 左 */
                                  
                    -7px -7px 0 .5px #333,        /* 左上, 0.5px扩展 */
                    7px -7px 0 1.5px #333,        /* 右上, 1.5px扩展 */                    
                    7px 7px #333,                 /* 右下 */
                    -7px 7px #333;                /* 左下 */
    }
    .spin {
        animation: spin 1s steps(8) infinite;
    }
    @keyframes spin {
        from {transform: rotate(0deg);}
          to {transform: rotate(360deg);}
    }

    <div class="loading spin"></div> 

  • 相关阅读:
    golang gc
    set password to qcow2
    golang reflect struct
    Mac 自启动管理
    shell exec
    shell 管道 与 mkfifo
    shell 读取文件
    shell 函数
    shell read 命令
    ubuntu 快速安装和设置 mysql
  • 原文地址:https://www.cnblogs.com/NatChen/p/9045688.html
Copyright © 2011-2022 走看看