Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. html_____________________________________
  2.  
  3. <div id="circularG">
  4. <div id="circularG_1" class="circularG"></div>
  5. <div id="circularG_2" class="circularG"></div>
  6. <div id="circularG_3" class="circularG"></div>
  7. <div id="circularG_4" class="circularG"></div>
  8. <div id="circularG_5" class="circularG"></div>
  9. <div id="circularG_6" class="circularG"></div>
  10. <div id="circularG_7" class="circularG"></div>
  11. <div id="circularG_8" class="circularG"></div>
  12. </div>
  13.  
  14.  
  15. css___________________________________________
  16.  
  17.  
  18. #circularG{
  19. position:relative;
  20. width:120px;
  21. height:120px;
  22. margin: auto;
  23. }
  24.  
  25. .circularG{
  26. position:absolute;
  27. background-color:rgb(207,178,240);
  28. width:28px;
  29. height:28px;
  30. border-radius:18px;
  31. -o-border-radius:18px;
  32. -ms-border-radius:18px;
  33. -webkit-border-radius:18px;
  34. -moz-border-radius:18px;
  35. animation-name:bounce_circularG;
  36. -o-animation-name:bounce_circularG;
  37. -ms-animation-name:bounce_circularG;
  38. -webkit-animation-name:bounce_circularG;
  39. -moz-animation-name:bounce_circularG;
  40. animation-duration:1.1s;
  41. -o-animation-duration:1.1s;
  42. -ms-animation-duration:1.1s;
  43. -webkit-animation-duration:1.1s;
  44. -moz-animation-duration:1.1s;
  45. animation-iteration-count:infinite;
  46. -o-animation-iteration-count:infinite;
  47. -ms-animation-iteration-count:infinite;
  48. -webkit-animation-iteration-count:infinite;
  49. -moz-animation-iteration-count:infinite;
  50. animation-direction:normal;
  51. -o-animation-direction:normal;
  52. -ms-animation-direction:normal;
  53. -webkit-animation-direction:normal;
  54. -moz-animation-direction:normal;
  55. }
  56.  
  57. #circularG_1{
  58. left:0;
  59. top:48px;
  60. animation-delay:0.41s;
  61. -o-animation-delay:0.41s;
  62. -ms-animation-delay:0.41s;
  63. -webkit-animation-delay:0.41s;
  64. -moz-animation-delay:0.41s;
  65. }
  66.  
  67. #circularG_2{
  68. left:12px;
  69. top:12px;
  70. animation-delay:0.55s;
  71. -o-animation-delay:0.55s;
  72. -ms-animation-delay:0.55s;
  73. -webkit-animation-delay:0.55s;
  74. -moz-animation-delay:0.55s;
  75. }
  76.  
  77. #circularG_3{
  78. top:0;
  79. left:48px;
  80. animation-delay:0.69s;
  81. -o-animation-delay:0.69s;
  82. -ms-animation-delay:0.69s;
  83. -webkit-animation-delay:0.69s;
  84. -moz-animation-delay:0.69s;
  85. }
  86.  
  87. #circularG_4{
  88. right:12px;
  89. top:12px;
  90. animation-delay:0.83s;
  91. -o-animation-delay:0.83s;
  92. -ms-animation-delay:0.83s;
  93. -webkit-animation-delay:0.83s;
  94. -moz-animation-delay:0.83s;
  95. }
  96.  
  97. #circularG_5{
  98. right:0;
  99. top:48px;
  100. animation-delay:0.97s;
  101. -o-animation-delay:0.97s;
  102. -ms-animation-delay:0.97s;
  103. -webkit-animation-delay:0.97s;
  104. -moz-animation-delay:0.97s;
  105. }
  106.  
  107. #circularG_6{
  108. right:12px;
  109. bottom:12px;
  110. animation-delay:1.1s;
  111. -o-animation-delay:1.1s;
  112. -ms-animation-delay:1.1s;
  113. -webkit-animation-delay:1.1s;
  114. -moz-animation-delay:1.1s;
  115. }
  116.  
  117. #circularG_7{
  118. left:48px;
  119. bottom:0;
  120. animation-delay:1.24s;
  121. -o-animation-delay:1.24s;
  122. -ms-animation-delay:1.24s;
  123. -webkit-animation-delay:1.24s;
  124. -moz-animation-delay:1.24s;
  125. }
  126.  
  127. #circularG_8{
  128. left:12px;
  129. bottom:12px;
  130. animation-delay:1.38s;
  131. -o-animation-delay:1.38s;
  132. -ms-animation-delay:1.38s;
  133. -webkit-animation-delay:1.38s;
  134. -moz-animation-delay:1.38s;
  135. }
  136.  
  137.  
  138.  
  139. @keyframes bounce_circularG{
  140. 0%{
  141. transform:scale(1);
  142. }
  143.  
  144. 100%{
  145. transform:scale(.3);
  146. }
  147. }
  148.  
  149. @-o-keyframes bounce_circularG{
  150. 0%{
  151. -o-transform:scale(1);
  152. }
  153.  
  154. 100%{
  155. -o-transform:scale(.3);
  156. }
  157. }
  158.  
  159. @-ms-keyframes bounce_circularG{
  160. 0%{
  161. -ms-transform:scale(1);
  162. }
  163.  
  164. 100%{
  165. -ms-transform:scale(.3);
  166. }
  167. }
  168.  
  169. @-webkit-keyframes bounce_circularG{
  170. 0%{
  171. -webkit-transform:scale(1);
  172. }
  173.  
  174. 100%{
  175. -webkit-transform:scale(.3);
  176. }
  177. }
  178.  
  179. @-moz-keyframes bounce_circularG{
  180. 0%{
  181. -moz-transform:scale(1);
  182. }
  183.  
  184. 100%{
  185. -moz-transform:scale(.3);
  186. }
  187. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement