ball-spin-loader.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*========================================================
  2. DARK LAYOUT
  3. =========================================================*/
  4. @-webkit-keyframes ball-spin-loader {
  5. 75% {
  6. opacity: 0.2;
  7. }
  8. 100% {
  9. opacity: 1;
  10. }
  11. }
  12. @keyframes ball-spin-loader {
  13. 75% {
  14. opacity: 0.2;
  15. }
  16. 100% {
  17. opacity: 1;
  18. }
  19. }
  20. .ball-spin-loader {
  21. position: relative;
  22. }
  23. .ball-spin-loader > span:nth-child(1) {
  24. top: 45px;
  25. left: 0;
  26. -webkit-animation: ball-spin-loader 2s 0.9s infinite linear;
  27. animation: ball-spin-loader 2s 0.9s infinite linear;
  28. }
  29. .ball-spin-loader > span:nth-child(2) {
  30. top: 30.6818181818px;
  31. left: 30.6818181818px;
  32. -webkit-animation: ball-spin-loader 2s 1.8s infinite linear;
  33. animation: ball-spin-loader 2s 1.8s infinite linear;
  34. }
  35. .ball-spin-loader > span:nth-child(3) {
  36. top: 0;
  37. left: 45px;
  38. -webkit-animation: ball-spin-loader 2s 2.7s infinite linear;
  39. animation: ball-spin-loader 2s 2.7s infinite linear;
  40. }
  41. .ball-spin-loader > span:nth-child(4) {
  42. top: -30.6818181818px;
  43. left: 30.6818181818px;
  44. -webkit-animation: ball-spin-loader 2s 3.6s infinite linear;
  45. animation: ball-spin-loader 2s 3.6s infinite linear;
  46. }
  47. .ball-spin-loader > span:nth-child(5) {
  48. top: -45px;
  49. left: 0;
  50. -webkit-animation: ball-spin-loader 2s 4.5s infinite linear;
  51. animation: ball-spin-loader 2s 4.5s infinite linear;
  52. }
  53. .ball-spin-loader > span:nth-child(6) {
  54. top: -30.6818181818px;
  55. left: -30.6818181818px;
  56. -webkit-animation: ball-spin-loader 2s 5.4s infinite linear;
  57. animation: ball-spin-loader 2s 5.4s infinite linear;
  58. }
  59. .ball-spin-loader > span:nth-child(7) {
  60. top: 0;
  61. left: -45px;
  62. -webkit-animation: ball-spin-loader 2s 6.3s infinite linear;
  63. animation: ball-spin-loader 2s 6.3s infinite linear;
  64. }
  65. .ball-spin-loader > span:nth-child(8) {
  66. top: 30.6818181818px;
  67. left: -30.6818181818px;
  68. -webkit-animation: ball-spin-loader 2s 7.2s infinite linear;
  69. animation: ball-spin-loader 2s 7.2s infinite linear;
  70. }
  71. .ball-spin-loader > div {
  72. -webkit-animation-fill-mode: both;
  73. animation-fill-mode: both;
  74. position: absolute;
  75. width: 15px;
  76. height: 15px;
  77. border-radius: 100%;
  78. background: green;
  79. }