spinkit-loader.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. #loading-spinner {
  2. margin-left: auto;
  3. margin-right: auto;
  4. width: 40px;
  5. height: 40px;
  6. }
  7. .sk-fading-circle {
  8. width: 40px;
  9. height: 40px;
  10. position: relative;
  11. }
  12. .sk-fading-circle .sk-circle {
  13. width: 100%;
  14. height: 100%;
  15. position: absolute;
  16. left: 0;
  17. top: 0;
  18. }
  19. .sk-fading-circle .sk-circle:before {
  20. content: '';
  21. display: block;
  22. margin: 0 auto;
  23. width: 15%;
  24. height: 15%;
  25. background-color: #333;
  26. border-radius: 100%;
  27. -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
  28. animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
  29. }
  30. .sk-fading-circle .sk-circle2 {
  31. -webkit-transform: rotate(30deg);
  32. -ms-transform: rotate(30deg);
  33. transform: rotate(30deg);
  34. }
  35. .sk-fading-circle .sk-circle3 {
  36. -webkit-transform: rotate(60deg);
  37. -ms-transform: rotate(60deg);
  38. transform: rotate(60deg);
  39. }
  40. .sk-fading-circle .sk-circle4 {
  41. -webkit-transform: rotate(90deg);
  42. -ms-transform: rotate(90deg);
  43. transform: rotate(90deg);
  44. }
  45. .sk-fading-circle .sk-circle5 {
  46. -webkit-transform: rotate(120deg);
  47. -ms-transform: rotate(120deg);
  48. transform: rotate(120deg);
  49. }
  50. .sk-fading-circle .sk-circle6 {
  51. -webkit-transform: rotate(150deg);
  52. -ms-transform: rotate(150deg);
  53. transform: rotate(150deg);
  54. }
  55. .sk-fading-circle .sk-circle7 {
  56. -webkit-transform: rotate(180deg);
  57. -ms-transform: rotate(180deg);
  58. transform: rotate(180deg);
  59. }
  60. .sk-fading-circle .sk-circle8 {
  61. -webkit-transform: rotate(210deg);
  62. -ms-transform: rotate(210deg);
  63. transform: rotate(210deg);
  64. }
  65. .sk-fading-circle .sk-circle9 {
  66. -webkit-transform: rotate(240deg);
  67. -ms-transform: rotate(240deg);
  68. transform: rotate(240deg);
  69. }
  70. .sk-fading-circle .sk-circle10 {
  71. -webkit-transform: rotate(270deg);
  72. -ms-transform: rotate(270deg);
  73. transform: rotate(270deg);
  74. }
  75. .sk-fading-circle .sk-circle11 {
  76. -webkit-transform: rotate(300deg);
  77. -ms-transform: rotate(300deg);
  78. transform: rotate(300deg);
  79. }
  80. .sk-fading-circle .sk-circle12 {
  81. -webkit-transform: rotate(330deg);
  82. -ms-transform: rotate(330deg);
  83. transform: rotate(330deg);
  84. }
  85. .sk-fading-circle .sk-circle2:before {
  86. -webkit-animation-delay: -1.1s;
  87. animation-delay: -1.1s;
  88. }
  89. .sk-fading-circle .sk-circle3:before {
  90. -webkit-animation-delay: -1s;
  91. animation-delay: -1s;
  92. }
  93. .sk-fading-circle .sk-circle4:before {
  94. -webkit-animation-delay: -0.9s;
  95. animation-delay: -0.9s;
  96. }
  97. .sk-fading-circle .sk-circle5:before {
  98. -webkit-animation-delay: -0.8s;
  99. animation-delay: -0.8s;
  100. }
  101. .sk-fading-circle .sk-circle6:before {
  102. -webkit-animation-delay: -0.7s;
  103. animation-delay: -0.7s;
  104. }
  105. .sk-fading-circle .sk-circle7:before {
  106. -webkit-animation-delay: -0.6s;
  107. animation-delay: -0.6s;
  108. }
  109. .sk-fading-circle .sk-circle8:before {
  110. -webkit-animation-delay: -0.5s;
  111. animation-delay: -0.5s;
  112. }
  113. .sk-fading-circle .sk-circle9:before {
  114. -webkit-animation-delay: -0.4s;
  115. animation-delay: -0.4s;
  116. }
  117. .sk-fading-circle .sk-circle10:before {
  118. -webkit-animation-delay: -0.3s;
  119. animation-delay: -0.3s;
  120. }
  121. .sk-fading-circle .sk-circle11:before {
  122. -webkit-animation-delay: -0.2s;
  123. animation-delay: -0.2s;
  124. }
  125. .sk-fading-circle .sk-circle12:before {
  126. -webkit-animation-delay: -0.1s;
  127. animation-delay: -0.1s;
  128. }
  129. @-webkit-keyframes sk-circleFadeDelay {
  130. 0%, 39%, 100% { opacity: 0; }
  131. 40% { opacity: 1; }
  132. }
  133. @keyframes sk-circleFadeDelay {
  134. 0%, 39%, 100% { opacity: 0; }
  135. 40% { opacity: 1; }
  136. }