animation.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. .fadeInTop, .fadeInBtm, .fadeInRight, .fadeInLeft {
  2. opacity: 1;
  3. }
  4. .animation.fadeInTop {
  5. animation: fadeInTop 1s ease 1;
  6. opacity: 1;
  7. transition: opacity 1s ease;
  8. }
  9. .animation.fadeInBtm {
  10. animation: fadeInBtm 1s ease 1;
  11. opacity: 1;
  12. transition: opacity 1s ease;
  13. }
  14. .animation.fadeInRight {
  15. animation: fadeInRight 1s ease 1;
  16. opacity: 1;
  17. transition: opacity 1s ease;
  18. }
  19. .animation.fadeInLeft {
  20. animation: fadeInLeft 1s ease 1;
  21. opacity: 1;
  22. transition: opacity 1s ease;
  23. }
  24. @keyframes fadeInRight {
  25. 0% {
  26. transform: translateX(-30%);
  27. }
  28. 100% {
  29. transform: translateX(0);
  30. }
  31. }
  32. @keyframes fadeInLeft {
  33. 0% {
  34. transform: translateX(30%);
  35. }
  36. 100% {
  37. transform: translateX(0);
  38. }
  39. }
  40. @keyframes fadeInTop {
  41. 0% {
  42. transform: translateY(30%);
  43. }
  44. 100% {
  45. transform: translateY(0);
  46. }
  47. }
  48. @keyframes fadeInBtm {
  49. 0% {
  50. transform: translateY(-30%);
  51. }
  52. 100% {
  53. transform: translateY(0);
  54. }
  55. }
  56. .like-box {
  57. width: 100%;
  58. height: 1rem;
  59. position: absolute;
  60. left: 50%;
  61. top: 50%;
  62. transform: translate(-50%, -50%);
  63. }
  64. .parentImg {
  65. width: 35px;
  66. height: 35px;
  67. display: inline-block;
  68. position: absolute;
  69. top: -0.15rem;
  70. right: 8%;
  71. animation: vertical-animation 1.6s linear forwards;
  72. -webkit-animation: vertical-animation 1.6s linear forwards;
  73. }
  74. @-webkit-keyframes vertical-animation {
  75. 0% {
  76. transform: translateY(0px);
  77. opacity: 1
  78. }
  79. 100% {
  80. transform: translateY(-300px);
  81. opacity: 0
  82. }
  83. }
  84. @keyframes vertical-animation {
  85. 0% {
  86. transform: translateY(0px);
  87. opacity: 1
  88. }
  89. 100% {
  90. transform: translateY(-300px);
  91. opacity: 0
  92. }
  93. }
  94. .parentImg0 img,
  95. .parentImg1 img {
  96. width: 35px;
  97. height: 35px;
  98. display: inline-block;
  99. animation: hor-animation 1.4s linear forwards;
  100. -webkit-animation: hor-animation 1.4s linear forwards;
  101. }
  102. @-webkit-keyframes hor-animation {
  103. 0% {
  104. transform: translateX(0px);
  105. transform: scale(0);
  106. }
  107. 10% {
  108. transform: scale(1);
  109. }
  110. 25% {
  111. transform: translateX(10px);
  112. }
  113. 50% {
  114. transform: translateX(0px);
  115. }
  116. 75% {
  117. transform: translateX(-10px);
  118. }
  119. 100% {
  120. transform: translateX(0px);
  121. }
  122. }
  123. .parentImg2 img,
  124. .parentImg3 img {
  125. width: 33px;
  126. height: 33px;
  127. animation: hor-animation1 1.4s linear forwards;
  128. -webkit-animation: hor-animation1 1.4s linear forwards;
  129. }
  130. @-webkit-keyframes hor-animation1 {
  131. 0% {
  132. transform: translateX(0px);
  133. transform: scale(0);
  134. }
  135. 10% {
  136. transform: scale(1);
  137. }
  138. 33% {
  139. transform: translateX(15px);
  140. }
  141. 66% {
  142. transform: translateX(10px);
  143. }
  144. 100% {
  145. transform: translateX(0px);
  146. }
  147. }
  148. .parentImg4 img,
  149. .parentImg5 img {
  150. width: 30px;
  151. height: 30px;
  152. animation: hor-animation2 1.4s linear forwards;
  153. -webkit-animation: hor-animation2 1.4s linear forwards;
  154. }
  155. @-webkit-keyframes hor-animation2 {
  156. 0% {
  157. transform: translateX(0px);
  158. transform: scale(0);
  159. }
  160. 10% {
  161. transform: scale(1);
  162. }
  163. 33% {
  164. transform: translateX(-5px);
  165. }
  166. 66% {
  167. transform: translateX(0px);
  168. }
  169. 100% {
  170. transform: translateX(6px);
  171. }
  172. }
  173. .parentImg6 img,
  174. .parentImg7 img {
  175. width: 28px;
  176. height: 28px;
  177. animation: hor-animation3 1.2s linear forwards;
  178. -webkit-animation: hor-animation3 1.2s linear forwards;
  179. }
  180. @-webkit-keyframes hor-animation3 {
  181. 0% {
  182. transform: translateX(0px);
  183. transform: scale(0);
  184. }
  185. 10% {
  186. transform: scale(1);
  187. }
  188. 33% {
  189. transform: translateX(20px);
  190. }
  191. 66% {
  192. transform: translateX(10px);
  193. }
  194. 100% {
  195. transform: translateX(0px);
  196. }
  197. }
  198. .parentImg8 img,
  199. .parentImg9 img {
  200. width: 24px;
  201. height: 24px;
  202. animation: hor-animation4 1.2s linear forwards;
  203. -webkit-animation: hor-animation4 1.2s linear forwards;
  204. }
  205. @-webkit-keyframes hor-animation4 {
  206. 0% {
  207. transform: translateX(0px);
  208. transform: scale(0);
  209. }
  210. 10% {
  211. transform: scale(1);
  212. }
  213. 33% {
  214. transform: translateX(-10px);
  215. }
  216. 66% {
  217. transform: translateX(-15px);
  218. }
  219. 100% {
  220. transform: translateX(-8px);
  221. }
  222. }