loading2.css 444 B

123456789101112131415161718192021222324
  1. .lds-dual-ring {
  2. display: inline-block;
  3. width: 64px;
  4. height: 64px;
  5. }
  6. .lds-dual-ring:after {
  7. content: ' ';
  8. display: block;
  9. width: 46px;
  10. height: 46px;
  11. margin: 1px;
  12. border-radius: 50%;
  13. border: 5px solid #fff;
  14. border-color: #42b983 transparent #42b983 transparent;//可修改颜色
  15. animation: lds-dual-ring 1.2s linear infinite;
  16. }
  17. @keyframes lds-dual-ring {
  18. 0% {
  19. transform: rotate(0deg);
  20. }
  21. 100% {
  22. transform: rotate(360deg);
  23. }
  24. }