ball-triangle-trace.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. @-webkit-keyframes ball-triangle-path-1 {
  2. 33% {
  3. -webkit-transform : translate(-25px, -50px);
  4. transform : translate(-25px, -50px);
  5. }
  6. 66% {
  7. -webkit-transform : translate(-50px, 0px);
  8. transform : translate(-50px, 0px);
  9. }
  10. 100% {
  11. -webkit-transform : translate(0px, 0px);
  12. transform : translate(0px, 0px);
  13. }
  14. }
  15. @-moz-keyframes ball-triangle-path-1 {
  16. 33% {
  17. -moz-transform : translate(-25px, -50px);
  18. transform : translate(-25px, -50px);
  19. }
  20. 66% {
  21. -moz-transform : translate(-50px, 0px);
  22. transform : translate(-50px, 0px);
  23. }
  24. 100% {
  25. -moz-transform : translate(0px, 0px);
  26. transform : translate(0px, 0px);
  27. }
  28. }
  29. @-o-keyframes ball-triangle-path-1 {
  30. 33% {
  31. -o-transform : translate(-25px, -50px);
  32. transform : translate(-25px, -50px);
  33. }
  34. 66% {
  35. -o-transform : translate(-50px, 0px);
  36. transform : translate(-50px, 0px);
  37. }
  38. 100% {
  39. -o-transform : translate(0px, 0px);
  40. transform : translate(0px, 0px);
  41. }
  42. }
  43. @keyframes ball-triangle-path-1 {
  44. 33% {
  45. -webkit-transform : translate(-25px, -50px);
  46. -moz-transform : translate(-25px, -50px);
  47. -o-transform : translate(-25px, -50px);
  48. transform : translate(-25px, -50px);
  49. }
  50. 66% {
  51. -webkit-transform : translate(-50px, 0px);
  52. -moz-transform : translate(-50px, 0px);
  53. -o-transform : translate(-50px, 0px);
  54. transform : translate(-50px, 0px);
  55. }
  56. 100% {
  57. -webkit-transform : translate(0px, 0px);
  58. -moz-transform : translate(0px, 0px);
  59. -o-transform : translate(0px, 0px);
  60. transform : translate(0px, 0px);
  61. }
  62. }
  63. @-webkit-keyframes ball-triangle-path-2 {
  64. 33% {
  65. -webkit-transform : translate(-25px, 50px);
  66. transform : translate(-25px, 50px);
  67. }
  68. 66% {
  69. -webkit-transform : translate(25px, 50px);
  70. transform : translate(25px, 50px);
  71. }
  72. 100% {
  73. -webkit-transform : translate(0px, 0px);
  74. transform : translate(0px, 0px);
  75. }
  76. }
  77. @-moz-keyframes ball-triangle-path-2 {
  78. 33% {
  79. -moz-transform : translate(-25px, 50px);
  80. transform : translate(-25px, 50px);
  81. }
  82. 66% {
  83. -moz-transform : translate(25px, 50px);
  84. transform : translate(25px, 50px);
  85. }
  86. 100% {
  87. -moz-transform : translate(0px, 0px);
  88. transform : translate(0px, 0px);
  89. }
  90. }
  91. @-o-keyframes ball-triangle-path-2 {
  92. 33% {
  93. -o-transform : translate(-25px, 50px);
  94. transform : translate(-25px, 50px);
  95. }
  96. 66% {
  97. -o-transform : translate(25px, 50px);
  98. transform : translate(25px, 50px);
  99. }
  100. 100% {
  101. -o-transform : translate(0px, 0px);
  102. transform : translate(0px, 0px);
  103. }
  104. }
  105. @keyframes ball-triangle-path-2 {
  106. 33% {
  107. -webkit-transform : translate(-25px, 50px);
  108. -moz-transform : translate(-25px, 50px);
  109. -o-transform : translate(-25px, 50px);
  110. transform : translate(-25px, 50px);
  111. }
  112. 66% {
  113. -webkit-transform : translate(25px, 50px);
  114. -moz-transform : translate(25px, 50px);
  115. -o-transform : translate(25px, 50px);
  116. transform : translate(25px, 50px);
  117. }
  118. 100% {
  119. -webkit-transform : translate(0px, 0px);
  120. -moz-transform : translate(0px, 0px);
  121. -o-transform : translate(0px, 0px);
  122. transform : translate(0px, 0px);
  123. }
  124. }
  125. @-webkit-keyframes ball-triangle-path-3 {
  126. 33% {
  127. -webkit-transform : translate(50px, 0px);
  128. transform : translate(50px, 0px);
  129. }
  130. 66% {
  131. -webkit-transform : translate(25px, -50px);
  132. transform : translate(25px, -50px);
  133. }
  134. 100% {
  135. -webkit-transform : translate(0px, 0px);
  136. transform : translate(0px, 0px);
  137. }
  138. }
  139. @-moz-keyframes ball-triangle-path-3 {
  140. 33% {
  141. -moz-transform : translate(50px, 0px);
  142. transform : translate(50px, 0px);
  143. }
  144. 66% {
  145. -moz-transform : translate(25px, -50px);
  146. transform : translate(25px, -50px);
  147. }
  148. 100% {
  149. -moz-transform : translate(0px, 0px);
  150. transform : translate(0px, 0px);
  151. }
  152. }
  153. @-o-keyframes ball-triangle-path-3 {
  154. 33% {
  155. -o-transform : translate(50px, 0px);
  156. transform : translate(50px, 0px);
  157. }
  158. 66% {
  159. -o-transform : translate(25px, -50px);
  160. transform : translate(25px, -50px);
  161. }
  162. 100% {
  163. -o-transform : translate(0px, 0px);
  164. transform : translate(0px, 0px);
  165. }
  166. }
  167. @keyframes ball-triangle-path-3 {
  168. 33% {
  169. -webkit-transform : translate(50px, 0px);
  170. -moz-transform : translate(50px, 0px);
  171. -o-transform : translate(50px, 0px);
  172. transform : translate(50px, 0px);
  173. }
  174. 66% {
  175. -webkit-transform : translate(25px, -50px);
  176. -moz-transform : translate(25px, -50px);
  177. -o-transform : translate(25px, -50px);
  178. transform : translate(25px, -50px);
  179. }
  180. 100% {
  181. -webkit-transform : translate(0px, 0px);
  182. -moz-transform : translate(0px, 0px);
  183. -o-transform : translate(0px, 0px);
  184. transform : translate(0px, 0px);
  185. }
  186. }
  187. .ball-triangle-path {
  188. position : relative;
  189. -webkit-transform : translate(29.994px, -37.50938px);
  190. -moz-transform : translate(29.994px, -37.50938px);
  191. -ms-transform : translate(29.994px, -37.50938px);
  192. -o-transform : translate(29.994px, -37.50938px);
  193. transform : translate(29.994px, -37.50938px);
  194. }
  195. .ball-triangle-path > div:nth-child(1) {
  196. -webkit-animation-name : ball-triangle-path-1;
  197. -moz-animation-name : ball-triangle-path-1;
  198. -o-animation-name : ball-triangle-path-1;
  199. animation-name : ball-triangle-path-1;
  200. -webkit-animation-delay : 0;
  201. -moz-animation-delay : 0;
  202. -o-animation-delay : 0;
  203. animation-delay : 0;
  204. -webkit-animation-duration : 2s;
  205. -moz-animation-duration : 2s;
  206. -o-animation-duration : 2s;
  207. animation-duration : 2s;
  208. -webkit-animation-timing-function : ease-in-out;
  209. -moz-animation-timing-function : ease-in-out;
  210. -o-animation-timing-function : ease-in-out;
  211. animation-timing-function : ease-in-out;
  212. -webkit-animation-iteration-count : infinite;
  213. -moz-animation-iteration-count : infinite;
  214. -o-animation-iteration-count : infinite;
  215. animation-iteration-count : infinite;
  216. }
  217. .ball-triangle-path > div:nth-child(2) {
  218. -webkit-animation-name : ball-triangle-path-2;
  219. -moz-animation-name : ball-triangle-path-2;
  220. -o-animation-name : ball-triangle-path-2;
  221. animation-name : ball-triangle-path-2;
  222. -webkit-animation-delay : 0;
  223. -moz-animation-delay : 0;
  224. -o-animation-delay : 0;
  225. animation-delay : 0;
  226. -webkit-animation-duration : 2s;
  227. -moz-animation-duration : 2s;
  228. -o-animation-duration : 2s;
  229. animation-duration : 2s;
  230. -webkit-animation-timing-function : ease-in-out;
  231. -moz-animation-timing-function : ease-in-out;
  232. -o-animation-timing-function : ease-in-out;
  233. animation-timing-function : ease-in-out;
  234. -webkit-animation-iteration-count : infinite;
  235. -moz-animation-iteration-count : infinite;
  236. -o-animation-iteration-count : infinite;
  237. animation-iteration-count : infinite;
  238. }
  239. .ball-triangle-path > div:nth-child(3) {
  240. -webkit-animation-name : ball-triangle-path-3;
  241. -moz-animation-name : ball-triangle-path-3;
  242. -o-animation-name : ball-triangle-path-3;
  243. animation-name : ball-triangle-path-3;
  244. -webkit-animation-delay : 0;
  245. -moz-animation-delay : 0;
  246. -o-animation-delay : 0;
  247. animation-delay : 0;
  248. -webkit-animation-duration : 2s;
  249. -moz-animation-duration : 2s;
  250. -o-animation-duration : 2s;
  251. animation-duration : 2s;
  252. -webkit-animation-timing-function : ease-in-out;
  253. -moz-animation-timing-function : ease-in-out;
  254. -o-animation-timing-function : ease-in-out;
  255. animation-timing-function : ease-in-out;
  256. -webkit-animation-iteration-count : infinite;
  257. -moz-animation-iteration-count : infinite;
  258. -o-animation-iteration-count : infinite;
  259. animation-iteration-count : infinite;
  260. }
  261. .ball-triangle-path > div {
  262. -webkit-animation-fill-mode : both;
  263. -moz-animation-fill-mode : both;
  264. -o-animation-fill-mode : both;
  265. animation-fill-mode : both;
  266. position : absolute;
  267. width : 10px;
  268. height : 10px;
  269. border-radius : 100%;
  270. border : 1px solid #55595C;
  271. }
  272. .ball-triangle-path > div:nth-of-type(1) {
  273. top : 50px;
  274. }
  275. .ball-triangle-path > div:nth-of-type(2) {
  276. right : 25px;
  277. }
  278. .ball-triangle-path > div:nth-of-type(3) {
  279. top : 50px;
  280. right : 50px;
  281. }