演示地址:https://xibushijie.github.io/loading/loading.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<style type="text/css">
/* loading */
.loading {
position: relative;
} .loading::before {
width: 4px; height: 4px;
margin: auto;
content: '';
-webkit-animation: spinZoom 1s steps(8) infinite;
animation: spinZoom 1s steps(8) infinite;
border-radius: 100%;
box-shadow: 0 -10px 0 1px currentColor, 10px 0 currentColor, 0 10px currentColor, -10px 0 currentColor, -7px -7px 0 .5px currentColor, 7px -7px 0 1.5px currentColor, 7px 7px currentColor, -7px 7px currentColor;
/* center */
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
}
/* loading动画 */
@-webkit-keyframes spinZoom {
0% {
-webkit-transform: scale(.75) rotate(0);
}
100% {
-webkit-transform: scale(.75) rotate(360deg);
}
}
@keyframes spinZoom {
0% {
transform: scale(.75) rotate(0);
}
100% {
transform: scale(.75) rotate(360deg);
}
}
</style>
</head>
<body>
<a href="" class="btn loading"> </a>
</body>
</html>

  

最新文章

  1. android 获取设备拔插状态广播事件易漏掉的一行属性!
  2. 开机就提示“请安装TCP/IP协议,error=10106”的解决的方法
  3. visualbox使用(二)
  4. varnish 4.0编译安装小记
  5. 基于QtQuick2.0应用程序运行于XP系统的诸多问题
  6. 【Ubuntu 16】安装deb
  7. 二进制安装 mariadb
  8. 约数,gcd,exgcd.
  9. 浅议APC
  10. Java 解密错误InvalidKeyException: Illegal key size解决方法
  11. tyvj1061Mobile Service
  12. python+selenium+pychar安装
  13. hive-group by的时候把两个字段变成map
  14. maven镜像制作
  15. 【FinancialKnowledge】拨备
  16. BZOJ 4276 [ONTAK2015]Bajtman i Okrągły Robin 费用流+线段树优化建图
  17. GO语言heap剖析及利用heap实现优先级队列
  18. 关于css js文件缓存问题
  19. ssh免密码登录配置方法,(图示加命令)
  20. Codeforces Round #321 (Div. 2) B 二分+预处理

热门文章

  1. awk脚本使用的几种方法
  2. Array.prototype鲜为人知的事实
  3. 【原创】源码角度分析Android的消息机制系列(四)——MessageQueue的工作原理
  4. apache 限制IP访问
  5. JDK,JRE,JVM的区别与联系
  6. Linux知识体系之磁盘与档案系统管理
  7. 940C Phone Numbers
  8. appium+Python 启动app(三)登录
  9. thinkPHP替换SQL变量
  10. 怎样才能收集到所有开发人员的blog(待续&hellip;)