上代码:

<style>
.pswp__preloader__icn {
opacity:0.75;
width: 24px;
height: 24px;
-webkit-animation: clockwise 500ms linear infinite;
animation: clockwise 500ms linear infinite;
margin-left: 60px;
} .pswp__preloader__cut {
position: relative;
width: 12px;
height: 24px;
overflow: hidden;
position: absolute;
top: 0;
left: 0;
} .pswp__preloader__donut {
box-sizing: border-box;
width: 24px;
height: 24px;
border: 2px solid #000;
border-radius: 50%;
border-left-color: transparent;
border-bottom-color: transparent;
position: absolute;
top: 0;
left: 0;
background: none;
margin:0;
-webkit-animation: donut-rotate 1000ms cubic-bezier(.4,0,.22,1) infinite;
animation: donut-rotate 1000ms cubic-bezier(.4,0,.22,1) infinite;
} @-webkit-keyframes clockwise {
0% { -webkit-transform: rotate(0deg) }
100% { -webkit-transform: rotate(360deg) }
}
@keyframes clockwise {
0% { transform: rotate(0deg) }
100% { transform: rotate(360deg) }
}
@-webkit-keyframes donut-rotate {
0% { -webkit-transform: rotate(0) }
50% { -webkit-transform: rotate(-140deg) }
100% { -webkit-transform: rotate(0) }
}
@keyframes donut-rotate {
0% { transform: rotate(0) }
50% { transform: rotate(-140deg) }
100% { transform: rotate(0) }
}
</style>
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>

  

  

最新文章

  1. PEtools
  2. 原生JS:全局属性、全局方法详解
  3. Create New Commands in Tcl
  4. 关于extra加强延迟加载
  5. Android组件Spinner使用
  6. POJ 2226
  7. Java IO (4) - Writer
  8. USCAO3.26Sweet Butter(SPFA)
  9. linux环境下tcpdump源代码分析
  10. js Array数组的使用
  11. 编译Boost 详细步骤 适用 VC6 VS2003 VS2005 VS2008 VS2010
  12. junit源码解析总结
  13. JS基础:闭包和作用域链
  14. mysql-binlog日志删除
  15. Python scipy 计算短时傅里叶变换(Short-time Fourier transforms)
  16. HyperlinkedIdentityField
  17. jQuery中prop和attr区别
  18. unittest单元测试简单介绍
  19. Docker容器学习与分享04
  20. 理解 Memory barrier(内存屏障)【转】

热门文章

  1. 【ccc】为了ds的ccc
  2. Unreal 各种指针类型是怎么回事
  3. vue的两种服务器端渲染方案
  4. element-ui/lib/style.css in ./src/main.js 解决方案
  5. 在vs code中进行本地调试和开启本地服务器
  6. vue---:click、:class可以这样表示
  7. CF846F - Random Query
  8. java-tocsv
  9. 在Unity中对森林植被进行优化
  10. pdf.js 跨域完美解决!