animation.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. @keyframes slide-top{
  2. from{
  3. transform: translateY(100%);
  4. /* opacity: 0; */
  5. }
  6. to{
  7. transform: translateY(0);
  8. /* opacity: 1; */
  9. }
  10. }
  11. @keyframes slide-bottom{
  12. from{
  13. transform: translateY(0);
  14. /* opacity: 0; */
  15. }
  16. to{
  17. transform: translateY(100%);
  18. /* opacity: 1; */
  19. }
  20. }
  21. @keyframes fade-in{
  22. from{
  23. opacity: 0;
  24. }
  25. to{
  26. opacity: 1;
  27. }
  28. }
  29. @keyframes fade-out{
  30. from{
  31. opacity: 1;
  32. }
  33. to{
  34. opacity: 0;
  35. }
  36. }
  37. @keyframes scaleB{
  38. from{
  39. transform: scale(0.5);
  40. }
  41. to{
  42. transform: scale(1);
  43. }
  44. }
  45. @keyframes scaleS{
  46. from{
  47. transform: scale(1);
  48. opacity: 1;
  49. }
  50. to{
  51. transform: scale(0);
  52. opacity: 0;
  53. }
  54. }
  55. @keyframes roate{
  56. from{
  57. transform: rotate(0);
  58. }
  59. to{
  60. transform: rotate(360deg);
  61. }
  62. }
  63. @keyframes tiaowu {
  64. from {
  65. height: 25rpx;
  66. }
  67. to {
  68. height: 0rpx;
  69. }
  70. }
  71. @keyframes tiaowu2 {
  72. from {
  73. height: 10rpx;
  74. }
  75. to {
  76. height: 25rpx;
  77. }
  78. }
  79. @keyframes tiaowu3 {
  80. 0% {
  81. height: 18rpx;
  82. }
  83. 50% {
  84. height: 25rpx;
  85. }
  86. 100% {
  87. height: 5rpx;
  88. }
  89. }
  90. .tiaowu {
  91. animation: tiaowu .5s ease infinite alternate;
  92. }
  93. .tiaowu2 {
  94. animation: tiaowu2 .5s ease infinite alternate;
  95. }
  96. .tiaowu3 {
  97. animation: tiaowu3 .5s ease infinite alternate;
  98. }
  99. .roate{
  100. animation: roate .7s linear infinite;
  101. }
  102. .slide-top{
  103. animation: slide-top .3s ease forwards;
  104. }
  105. .slide-bottom{
  106. animation: slide-bottom .3s ease forwards;
  107. }
  108. .fade-in{
  109. animation: fade-in .3s ease forwards;
  110. }
  111. .fade-out{
  112. animation: fade-out .3s ease forwards;
  113. }
  114. .scaleB{
  115. animation: scaleB .3s ease forwards;
  116. }
  117. .scaleS{
  118. animation: scaleS .3s ease forwards;
  119. }