_animation.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @keyframes rotation {
  2. from {
  3. -webkit-transform: rotate(0deg);
  4. }
  5. to {
  6. -webkit-transform: rotate(359deg);
  7. }
  8. }
  9. @keyframes translateright{
  10. 0%{
  11. right: -50px;
  12. color: transparent;
  13. display: none;
  14. }
  15. 30%{
  16. right: 150px;
  17. color: transparent;
  18. display: block;
  19. }
  20. 100%{
  21. right: 200px;
  22. color: white;
  23. }
  24. }
  25. @keyframes translateleft{
  26. 0%{
  27. right: 200px;
  28. color: white;
  29. display: block;
  30. }
  31. 30%{
  32. right: 150px;
  33. color: transparent;
  34. }
  35. 100%{
  36. right: -200px;
  37. color: transparent;
  38. display: none;
  39. }
  40. }
  41. @keyframes reducH{
  42. 0%{
  43. font-size: $fh1;
  44. -webkit-text-stroke : 1px;
  45. color: transparent;
  46. line-height: 5rem;
  47. }
  48. 70%{
  49. -webkit-text-stroke : 1px;
  50. color: black;
  51. // line-height: 6.5rem;
  52. }
  53. 100%{
  54. font-size: $min-h1;
  55. -webkit-text-stroke : 0px;
  56. color: black;
  57. line-height: 5rem;
  58. }
  59. }
  60. @keyframes translateY{
  61. 0%{
  62. transform: translateY(0px);
  63. opacity: 1;
  64. }
  65. 100%{
  66. transform: translateY(-20px);
  67. opacity: 0;
  68. }
  69. }
  70. @keyframes showcatlist {
  71. 0%{
  72. width: 0;
  73. box-shadow: 0px 0px 0px 0px black;
  74. opacity: 1;
  75. }
  76. 100%{
  77. width: 100%;
  78. box-shadow: 0px -2px 0px -2px black;
  79. opacity: 1;
  80. }
  81. }
  82. @keyframes showborder {
  83. 0%{
  84. width: 0;
  85. background: black;
  86. }
  87. 100%{
  88. width: 100%;
  89. background: black;
  90. }
  91. }
  92. @keyframes ultranslate {
  93. 0%{
  94. opacity: 0;
  95. transform: translateX(0px);
  96. }
  97. 100%{
  98. opacity: 1;
  99. transform: translateX(10px);
  100. }
  101. }
  102. @keyframes showcard {
  103. 0%{
  104. opacity: 0;
  105. }
  106. 100%{
  107. opacity: 1;
  108. }
  109. }