Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. .loader {
  2. position: absolute;
  3. top: 50%;
  4. left: 0;
  5. margin: 0 auto;
  6. width: 100%;
  7. height: 20px;
  8. text-align: center;
  9. z-index: 1;
  10. }
  11.  
  12.  
  13. .loader > div{
  14. content: " ";
  15. width: 10px;
  16. height: 10px;
  17. background: #B3B4B4;
  18. border-radius: 100%;
  19. -webkit-animation: shift 3s linear infinite;
  20. animation: shift 3s linear infinite;
  21. display: inline-block;
  22. margin: 0 5px;
  23. }
  24.  
  25. .loader > div:first-child {
  26. margin-left: 0;
  27. }
  28.  
  29. .loader > div:last-child {
  30. margin-right: 0;
  31. }
  32.  
  33. .loader > div:nth-of-type(1) {
  34. -webkit-animation-delay: .2s;
  35. animation-delay: .2s;
  36. }
  37.  
  38. .loader > div:nth-of-type(2) {
  39. -webkit-animation-delay: .4s;
  40. animation-delay: .4s;
  41. }
  42.  
  43. .loader > div:nth-of-type(3) {
  44. -webkit-animation-delay: .6s;
  45. animation-delay: .6s;
  46. }
  47.  
  48. .loader > div:nth-of-type(4) {
  49. -webkit-animation-delay: .8s;
  50. animation-delay: .8s;
  51. }
  52.  
  53. .loader > div:nth-of-type(5) {
  54. -webkit-animation-delay: 1s;
  55. animation-delay: 1s;
  56. }
  57.  
  58. .loader > div:nth-of-type(6) {
  59. -webkit-animation-delay: 1.2s;
  60. animation-delay: 1.2s;
  61. }
  62.  
  63. .loader > div:nth-of-type(7) {
  64. -webkit-animation-delay: 1.4s;
  65. animation-delay: 1.4s;
  66. }
  67.  
  68. .loader > div:nth-of-type(8) {
  69. -webkit-animation-delay: 1.6s;
  70. animation-delay: 1.6s;
  71. }
  72.  
  73. .loader > div:nth-of-type(9) {
  74. -webkit-animation-delay: 1.8s;
  75. animation-delay: 1.8s;
  76. }
  77.  
  78. .loader > div:nth-of-type(10) {
  79. -webkit-animation-delay: 2s;
  80. animation-delay: 2s;
  81. }
  82.  
  83. .loader > div:nth-of-type(11) {
  84. -webkit-animation-delay: 2.2s;
  85. animation-delay: 2.2s;
  86. }
  87.  
  88. .loader > div:nth-of-type(12) {
  89. -webkit-animation-delay: 2.4s;
  90. animation-delay: 2.4s;
  91. }
  92.  
  93. .loader > div:nth-of-type(13) {
  94. -webkit-animation-delay: 2.6s;
  95. animation-delay: 2.6s;
  96. }
  97.  
  98. .loader > div:nth-of-type(14) {
  99. -webkit-animation-delay: 2.8s;
  100. animation-delay: 2.8s;
  101. }
  102.  
  103. .loader > div:nth-of-type(15) {
  104. -webkit-animation-delay: 3s;
  105. animation-delay: 3s;
  106. }
  107.  
  108. @-webkit-keyframes shift {
  109. from {
  110. background: #B3B4B4;
  111. }
  112.  
  113. to {
  114. background: #1763AE;
  115. }
  116. }
  117.  
  118. @keyframes shift {
  119. from {
  120. background: #B3B4B4;
  121. }
  122.  
  123. to {
  124. background: #1763AE;
  125. }
  126. }
  127.  
  128. .blockdiv {
  129. position: absolute;
  130. top: 0;
  131. left: 0;
  132. width: 100%;
  133. height: 100%;
  134. display: block;
  135. background-color: #000;
  136. opacity: 0.3;
  137. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement