ball-spin-loader.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @-webkit-keyframes ball-spin-loader {
  2. 75% {
  3. opacity : 0.2;
  4. }
  5. 100% {
  6. opacity : 1;
  7. }
  8. }
  9. @-moz-keyframes ball-spin-loader {
  10. 75% {
  11. opacity : 0.2;
  12. }
  13. 100% {
  14. opacity : 1;
  15. }
  16. }
  17. @-o-keyframes ball-spin-loader {
  18. 75% {
  19. opacity : 0.2;
  20. }
  21. 100% {
  22. opacity : 1;
  23. }
  24. }
  25. @keyframes ball-spin-loader {
  26. 75% {
  27. opacity : 0.2;
  28. }
  29. 100% {
  30. opacity : 1;
  31. }
  32. }
  33. .ball-spin-loader {
  34. position : relative;
  35. }
  36. .ball-spin-loader > span:nth-child(1) {
  37. top : 45px;
  38. right : 0;
  39. -webkit-animation : ball-spin-loader 2s 0.9s infinite linear;
  40. -moz-animation : ball-spin-loader 2s 0.9s infinite linear;
  41. -o-animation : ball-spin-loader 2s 0.9s infinite linear;
  42. animation : ball-spin-loader 2s 0.9s infinite linear;
  43. }
  44. .ball-spin-loader > span:nth-child(2) {
  45. top : 30.68182px;
  46. right : 30.68182px;
  47. -webkit-animation : ball-spin-loader 2s 1.8s infinite linear;
  48. -moz-animation : ball-spin-loader 2s 1.8s infinite linear;
  49. -o-animation : ball-spin-loader 2s 1.8s infinite linear;
  50. animation : ball-spin-loader 2s 1.8s infinite linear;
  51. }
  52. .ball-spin-loader > span:nth-child(3) {
  53. top : 0;
  54. right : 45px;
  55. -webkit-animation : ball-spin-loader 2s 2.7s infinite linear;
  56. -moz-animation : ball-spin-loader 2s 2.7s infinite linear;
  57. -o-animation : ball-spin-loader 2s 2.7s infinite linear;
  58. animation : ball-spin-loader 2s 2.7s infinite linear;
  59. }
  60. .ball-spin-loader > span:nth-child(4) {
  61. top : -30.68182px;
  62. right : 30.68182px;
  63. -webkit-animation : ball-spin-loader 2s 3.6s infinite linear;
  64. -moz-animation : ball-spin-loader 2s 3.6s infinite linear;
  65. -o-animation : ball-spin-loader 2s 3.6s infinite linear;
  66. animation : ball-spin-loader 2s 3.6s infinite linear;
  67. }
  68. .ball-spin-loader > span:nth-child(5) {
  69. top : -45px;
  70. right : 0;
  71. -webkit-animation : ball-spin-loader 2s 4.5s infinite linear;
  72. -moz-animation : ball-spin-loader 2s 4.5s infinite linear;
  73. -o-animation : ball-spin-loader 2s 4.5s infinite linear;
  74. animation : ball-spin-loader 2s 4.5s infinite linear;
  75. }
  76. .ball-spin-loader > span:nth-child(6) {
  77. top : -30.68182px;
  78. right : -30.68182px;
  79. -webkit-animation : ball-spin-loader 2s 5.4s infinite linear;
  80. -moz-animation : ball-spin-loader 2s 5.4s infinite linear;
  81. -o-animation : ball-spin-loader 2s 5.4s infinite linear;
  82. animation : ball-spin-loader 2s 5.4s infinite linear;
  83. }
  84. .ball-spin-loader > span:nth-child(7) {
  85. top : 0;
  86. right : -45px;
  87. -webkit-animation : ball-spin-loader 2s 6.3s infinite linear;
  88. -moz-animation : ball-spin-loader 2s 6.3s infinite linear;
  89. -o-animation : ball-spin-loader 2s 6.3s infinite linear;
  90. animation : ball-spin-loader 2s 6.3s infinite linear;
  91. }
  92. .ball-spin-loader > span:nth-child(8) {
  93. top : 30.68182px;
  94. right : -30.68182px;
  95. -webkit-animation : ball-spin-loader 2s 7.2s infinite linear;
  96. -moz-animation : ball-spin-loader 2s 7.2s infinite linear;
  97. -o-animation : ball-spin-loader 2s 7.2s infinite linear;
  98. animation : ball-spin-loader 2s 7.2s infinite linear;
  99. }
  100. .ball-spin-loader > div {
  101. -webkit-animation-fill-mode : both;
  102. -moz-animation-fill-mode : both;
  103. -o-animation-fill-mode : both;
  104. animation-fill-mode : both;
  105. position : absolute;
  106. width : 15px;
  107. height : 15px;
  108. border-radius : 100%;
  109. background : green;
  110. }