loading6.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. .lds-roller {
  2. display: inline-block;
  3. position: relative;
  4. width: 64px;
  5. height: 64px;
  6. }
  7. .lds-roller view {
  8. animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  9. transform-origin: 32px 32px;
  10. }
  11. .lds-roller view:after {
  12. content: " ";
  13. display: block;
  14. position: absolute;
  15. width: 6px;
  16. height: 6px;
  17. border-radius: 50%;
  18. background: #42b983;//可修改颜色
  19. margin: -3px 0 0 -3px;
  20. }
  21. .lds-roller view:nth-child(1) {
  22. animation-delay: -0.036s;
  23. }
  24. .lds-roller view:nth-child(1):after {
  25. top: 50px;
  26. left: 50px;
  27. }
  28. .lds-roller view:nth-child(2) {
  29. animation-delay: -0.072s;
  30. }
  31. .lds-roller view:nth-child(2):after {
  32. top: 54px;
  33. left: 45px;
  34. }
  35. .lds-roller view:nth-child(3) {
  36. animation-delay: -0.108s;
  37. }
  38. .lds-roller view:nth-child(3):after {
  39. top: 57px;
  40. left: 39px;
  41. }
  42. .lds-roller view:nth-child(4) {
  43. animation-delay: -0.144s;
  44. }
  45. .lds-roller view:nth-child(4):after {
  46. top: 58px;
  47. left: 32px;
  48. }
  49. .lds-roller view:nth-child(5) {
  50. animation-delay: -0.18s;
  51. }
  52. .lds-roller view:nth-child(5):after {
  53. top: 57px;
  54. left: 25px;
  55. }
  56. .lds-roller view:nth-child(6) {
  57. animation-delay: -0.216s;
  58. }
  59. .lds-roller view:nth-child(6):after {
  60. top: 54px;
  61. left: 19px;
  62. }
  63. .lds-roller view:nth-child(7) {
  64. animation-delay: -0.252s;
  65. }
  66. .lds-roller view:nth-child(7):after {
  67. top: 50px;
  68. left: 14px;
  69. }
  70. .lds-roller view:nth-child(8) {
  71. animation-delay: -0.288s;
  72. }
  73. .lds-roller view:nth-child(8):after {
  74. top: 45px;
  75. left: 10px;
  76. }
  77. @keyframes lds-roller {
  78. 0% {
  79. transform: rotate(0deg);
  80. }
  81. 100% {
  82. transform: rotate(360deg);
  83. }
  84. }