animations.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. :root {
  2. --animate-pulse: pulse-opacity 2s ease-in-out infinite;
  3. }
  4. @keyframes pulse-opacity {
  5. 0%,
  6. 100% {
  7. opacity: 0.4;
  8. }
  9. 50% {
  10. opacity: 1;
  11. }
  12. }
  13. @keyframes pulse-opacity-dim {
  14. 0%,
  15. 100% {
  16. opacity: 0;
  17. }
  18. 50% {
  19. opacity: 0.2;
  20. }
  21. }
  22. @keyframes fadeUp {
  23. from {
  24. opacity: 0;
  25. transform: translateY(5px);
  26. }
  27. to {
  28. opacity: 1;
  29. transform: translateY(0);
  30. }
  31. }
  32. .fade-up-text {
  33. animation: fadeUp 0.4s ease-out forwards;
  34. opacity: 0;
  35. &:nth-child(1) {
  36. animation-delay: 0.1s;
  37. }
  38. &:nth-child(2) {
  39. animation-delay: 0.2s;
  40. }
  41. &:nth-child(3) {
  42. animation-delay: 0.3s;
  43. }
  44. &:nth-child(4) {
  45. animation-delay: 0.4s;
  46. }
  47. &:nth-child(5) {
  48. animation-delay: 0.5s;
  49. }
  50. &:nth-child(6) {
  51. animation-delay: 0.6s;
  52. }
  53. &:nth-child(7) {
  54. animation-delay: 0.7s;
  55. }
  56. &:nth-child(8) {
  57. animation-delay: 0.8s;
  58. }
  59. &:nth-child(9) {
  60. animation-delay: 0.9s;
  61. }
  62. &:nth-child(10) {
  63. animation-delay: 1s;
  64. }
  65. &:nth-child(11) {
  66. animation-delay: 1.1s;
  67. }
  68. &:nth-child(12) {
  69. animation-delay: 1.2s;
  70. }
  71. &:nth-child(13) {
  72. animation-delay: 1.3s;
  73. }
  74. &:nth-child(14) {
  75. animation-delay: 1.4s;
  76. }
  77. &:nth-child(15) {
  78. animation-delay: 1.5s;
  79. }
  80. &:nth-child(16) {
  81. animation-delay: 1.6s;
  82. }
  83. &:nth-child(17) {
  84. animation-delay: 1.7s;
  85. }
  86. &:nth-child(18) {
  87. animation-delay: 1.8s;
  88. }
  89. &:nth-child(19) {
  90. animation-delay: 1.9s;
  91. }
  92. &:nth-child(20) {
  93. animation-delay: 2s;
  94. }
  95. &:nth-child(21) {
  96. animation-delay: 2.1s;
  97. }
  98. &:nth-child(22) {
  99. animation-delay: 2.2s;
  100. }
  101. &:nth-child(23) {
  102. animation-delay: 2.3s;
  103. }
  104. &:nth-child(24) {
  105. animation-delay: 2.4s;
  106. }
  107. &:nth-child(25) {
  108. animation-delay: 2.5s;
  109. }
  110. &:nth-child(26) {
  111. animation-delay: 2.6s;
  112. }
  113. &:nth-child(27) {
  114. animation-delay: 2.7s;
  115. }
  116. &:nth-child(28) {
  117. animation-delay: 2.8s;
  118. }
  119. &:nth-child(29) {
  120. animation-delay: 2.9s;
  121. }
  122. &:nth-child(30) {
  123. animation-delay: 3s;
  124. }
  125. }