ball-triangle-trace.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /*========================================================
  2. DARK LAYOUT
  3. =========================================================*/
  4. @-webkit-keyframes ball-triangle-path-1 {
  5. 33% {
  6. transform: translate(25px, -50px);
  7. }
  8. 66% {
  9. transform: translate(50px, 0px);
  10. }
  11. 100% {
  12. transform: translate(0px, 0px);
  13. }
  14. }
  15. @keyframes ball-triangle-path-1 {
  16. 33% {
  17. transform: translate(25px, -50px);
  18. }
  19. 66% {
  20. transform: translate(50px, 0px);
  21. }
  22. 100% {
  23. transform: translate(0px, 0px);
  24. }
  25. }
  26. @-webkit-keyframes ball-triangle-path-2 {
  27. 33% {
  28. transform: translate(25px, 50px);
  29. }
  30. 66% {
  31. transform: translate(-25px, 50px);
  32. }
  33. 100% {
  34. transform: translate(0px, 0px);
  35. }
  36. }
  37. @keyframes ball-triangle-path-2 {
  38. 33% {
  39. transform: translate(25px, 50px);
  40. }
  41. 66% {
  42. transform: translate(-25px, 50px);
  43. }
  44. 100% {
  45. transform: translate(0px, 0px);
  46. }
  47. }
  48. @-webkit-keyframes ball-triangle-path-3 {
  49. 33% {
  50. transform: translate(-50px, 0px);
  51. }
  52. 66% {
  53. transform: translate(-25px, -50px);
  54. }
  55. 100% {
  56. transform: translate(0px, 0px);
  57. }
  58. }
  59. @keyframes ball-triangle-path-3 {
  60. 33% {
  61. transform: translate(-50px, 0px);
  62. }
  63. 66% {
  64. transform: translate(-25px, -50px);
  65. }
  66. 100% {
  67. transform: translate(0px, 0px);
  68. }
  69. }
  70. .ball-triangle-path {
  71. position: relative;
  72. transform: translate(-29.9940011998px, -37.5093773443px);
  73. }
  74. .ball-triangle-path > div:nth-child(1) {
  75. -webkit-animation-name: ball-triangle-path-1;
  76. animation-name: ball-triangle-path-1;
  77. -webkit-animation-delay: 0;
  78. animation-delay: 0;
  79. -webkit-animation-duration: 2s;
  80. animation-duration: 2s;
  81. -webkit-animation-timing-function: ease-in-out;
  82. animation-timing-function: ease-in-out;
  83. -webkit-animation-iteration-count: infinite;
  84. animation-iteration-count: infinite;
  85. }
  86. .ball-triangle-path > div:nth-child(2) {
  87. -webkit-animation-name: ball-triangle-path-2;
  88. animation-name: ball-triangle-path-2;
  89. -webkit-animation-delay: 0;
  90. animation-delay: 0;
  91. -webkit-animation-duration: 2s;
  92. animation-duration: 2s;
  93. -webkit-animation-timing-function: ease-in-out;
  94. animation-timing-function: ease-in-out;
  95. -webkit-animation-iteration-count: infinite;
  96. animation-iteration-count: infinite;
  97. }
  98. .ball-triangle-path > div:nth-child(3) {
  99. -webkit-animation-name: ball-triangle-path-3;
  100. animation-name: ball-triangle-path-3;
  101. -webkit-animation-delay: 0;
  102. animation-delay: 0;
  103. -webkit-animation-duration: 2s;
  104. animation-duration: 2s;
  105. -webkit-animation-timing-function: ease-in-out;
  106. animation-timing-function: ease-in-out;
  107. -webkit-animation-iteration-count: infinite;
  108. animation-iteration-count: infinite;
  109. }
  110. .ball-triangle-path > div {
  111. -webkit-animation-fill-mode: both;
  112. animation-fill-mode: both;
  113. position: absolute;
  114. width: 10px;
  115. height: 10px;
  116. border-radius: 100%;
  117. border: 1px solid #b8c2cc;
  118. }
  119. .ball-triangle-path > div:nth-of-type(1) {
  120. top: 50px;
  121. }
  122. .ball-triangle-path > div:nth-of-type(2) {
  123. left: 25px;
  124. }
  125. .ball-triangle-path > div:nth-of-type(3) {
  126. top: 50px;
  127. left: 50px;
  128. }