animate.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. .fade{
  2. .text{
  3. h2,p{opacity: 0;}
  4. }
  5. &.in{
  6. .text{
  7. h2{ animation:opacity 1s 0.7s 1 both,fadeInDown 2s 0.7s 1 ease forwards}
  8. p{
  9. animation:opacity 2s 1.7s 1 both}
  10. }
  11. }
  12. }
  13. .svg-box svg {
  14. .r-1{
  15. animation:fadeInUp-data-v-a9281c2e 1.3s 1.8s both
  16. }
  17. .r-2{
  18. animation:fadeIn-data-v-a9281c2e 1s 1.7s both
  19. }
  20. .r-3{
  21. animation:fadeInDown-data-v-a9281c2e 1.3s 1.8s both
  22. }
  23. .lines{
  24. animation:zoomIn-data-v-a9281c2e 1.6s 2s both;
  25. transform-origin: center;
  26. }
  27. .leg{
  28. animation:fadeIn-data-v-a9281c2e 2s 2.4s both;
  29. &.leg-1{
  30. animation-delay: 2.4s;
  31. }
  32. &.leg-2{
  33. animation-delay: 2.5s;
  34. }
  35. &.leg-3{
  36. animation-delay: 2.6s;
  37. }
  38. &.leg-4{
  39. animation-delay: 2.7s;
  40. }
  41. &.leg-5{
  42. animation-delay: 2.8s;
  43. }
  44. }
  45. }
  46. @keyframes zoomIn-data-v-a9281c2e {
  47. 0% {
  48. opacity: 0;
  49. -webkit-transform: scale(.3);
  50. transform: scale(.3)
  51. }
  52. }
  53. @keyframes fadeInDown-data-v-a9281c2e {
  54. 0% {
  55. opacity: 0;
  56. -webkit-transform: translate3d(0,-20px,0);
  57. transform: translate3d(0,-20px,0)
  58. }
  59. to {
  60. opacity: 1;
  61. -webkit-transform: none;
  62. transform: none
  63. }
  64. }
  65. @keyframes fadeInUp-data-v-a9281c2e {
  66. 0% {
  67. opacity: 0;
  68. -webkit-transform: translate3d(0,20px,0);
  69. transform: translate3d(0,20px,0)
  70. }
  71. to {
  72. opacity: 1;
  73. -webkit-transform: none;
  74. transform: none
  75. }
  76. }
  77. @keyframes fadeIn-data-v-a9281c2e {
  78. from {
  79. opacity: 0
  80. }
  81. to {
  82. opacity: 1
  83. }
  84. }
  85. @keyframes fadeInDown-data-v-a9281c2e {
  86. 0% {
  87. opacity: 0;
  88. -webkit-transform: translate3d(0,-20px,0);
  89. transform: translate3d(0,-20px,0)
  90. }
  91. to {
  92. opacity: 1;
  93. -webkit-transform: none;
  94. transform: none
  95. }
  96. }
  97. .animated {
  98. animation-duration: 1s;
  99. animation-fill-mode:forwards;
  100. }
  101. .fadeInDown{
  102. /* animation-delay: 0.5s;
  103. animation-name: fadeInDown;*/
  104. animation:fadeInDown 1s ease forwards;
  105. }
  106. .flash{
  107. animation-delay: 0.5s;
  108. animation-name: flash;
  109. animation-iteration-count: infinite;
  110. }
  111. @keyframes flash {
  112. from,50%,to {
  113. opacity: 1;
  114. }
  115. 25%,
  116. 75% {
  117. opacity: 0.5;
  118. }
  119. }
  120. @keyframes fadeInDown {
  121. from {
  122. opacity: 0;
  123. //transform: translate3d(0, -100%, 0);
  124. transform:translate3d(0, -100%,0);
  125. visibility: visible;
  126. }
  127. to {
  128. opacity: 1;
  129. // transform: translate3d(0, 0,0);
  130. transform:translate3d(0,0,0);
  131. animation-delay: 0.5s;
  132. }
  133. }
  134. @keyframes upCode {
  135. from{
  136. height: 0;
  137. }
  138. 100%{
  139. height: 1.4rem;
  140. }
  141. }
  142. @keyframes boxBall{
  143. from,65%{
  144. transform:translate3d(0,0,0) scale3d(1.1, 1.1, 1.1);
  145. }
  146. 80%{
  147. opacity: 1;
  148. }
  149. to{
  150. opacity: 0;
  151. transform:translate3d(-400%,0,0) scale3d(0, 0, 0);
  152. }
  153. }
  154. @keyframes boxBallChild{
  155. from,65%{
  156. transform:translate3d(0,0,0) scale3d(1.1, 1.1, 1.1);
  157. }
  158. 80%{
  159. opacity: 1;
  160. }
  161. to{
  162. opacity: 0;
  163. transform:translate3d(0,2000%,0) scale3d(0, 0, 0);
  164. }
  165. }
  166. @keyframes upDown{
  167. from {
  168. opacity: 1;
  169. transform:translate3d(0,0,0);
  170. visibility: visible;
  171. }
  172. 50%{
  173. opacity: 1;
  174. transform:translate3d(0,-10%,0);
  175. }
  176. to {
  177. opacity: 1;
  178. transform:translate3d(0,0,0);
  179. }
  180. }
  181. @keyframes openOutMen{
  182. from{
  183. transform:translate3d(0,0,0);
  184. }
  185. to{
  186. transform:translate3d(-0.74rem,0,0);
  187. }
  188. }
  189. @keyframes openMen{
  190. from{
  191. transform:translate3d(0,0,0);
  192. }
  193. to{
  194. transform:translate3d(0.68rem,0,0);
  195. }
  196. }
  197. @keyframes opacity{
  198. from{ opacity:0;
  199. }
  200. to{
  201. opacity:1;
  202. }
  203. }
  204. @keyframes repeatLeft{
  205. from{
  206. transform:translate3d(-0.25rem,0,0);
  207. }
  208. 50%{
  209. transform:translate3d(0,0,0);
  210. }
  211. to{
  212. transform:translate3d(-0.25rem,0,0);
  213. }
  214. }
  215. @keyframes gradient{
  216. from{
  217. transform:rotate3d(0,0,0,0);
  218. opacity: 1
  219. }
  220. 50%{
  221. opacity: 1;
  222. }
  223. to{
  224. opacity: 1;
  225. transform:rotate3d(0,0,1,365deg);
  226. }
  227. }
  228. @keyframes rubberBand {
  229. from,90% {
  230. transform: scale3d(1, 1, 1);
  231. }
  232. 93% {
  233. transform: scale3d(1,1.25, 1);
  234. }
  235. 94% {
  236. transform: scale3d(1,0.75, 1);
  237. }
  238. 95% {
  239. transform: scale3d(1,1.15, 1);
  240. }
  241. 96% {
  242. transform: scale3d(1,0.95, 1);
  243. }
  244. 97.5% {
  245. transform: scale3d(1,1.05, 1);
  246. }
  247. to {
  248. -webkit-transform: scale3d(1, 1, 1);
  249. transform: scale3d(1, 1, 1);
  250. }
  251. }
  252. @keyframes bounceInUp {
  253. from,
  254. 60%,
  255. 75%,
  256. 90%,
  257. to {
  258. animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  259. }
  260. from {
  261. opacity: 0;
  262. transform: translate3d(0, 3000px, 0);
  263. }
  264. 60% {
  265. opacity: 1;
  266. transform: translate3d(0, -20px, 0);
  267. }
  268. 75% {
  269. transform: translate3d(0, 10px, 0);
  270. }
  271. 90% {
  272. transform: translate3d(0, -5px, 0);
  273. }
  274. to {
  275. transform: translate3d(0, 0, 0);
  276. }
  277. }