index.less 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #app-animation{
  2. height: 100%;
  3. width: 100%;
  4. }
  5. #app-animation>div{
  6. top: 0;
  7. right: 0;
  8. bottom: 0;
  9. left: 0;
  10. }
  11. #app-animation.push .app-animation-enter {
  12. position: absolute;
  13. opacity: 0;
  14. transform: translate3d(100%, 0, 0);
  15. transition: all 0.2s ease;
  16. }
  17. #app-animation.push .app-animation-enter.app-animation-enter-active {
  18. opacity: 1;
  19. transform: translate3d(0, 0, 0);
  20. }
  21. #app-animation.push .app-animation-leave {
  22. position: absolute;
  23. opacity: 1;
  24. transition: all 0.2s ease;
  25. }
  26. #app-animation.push .app-animation-leave.app-animation-leave-active {
  27. opacity: 0;
  28. }
  29. #app-animation.pop .app-animation-enter {
  30. position: absolute;
  31. opacity: 0;
  32. transition: all 0.2s ease;
  33. }
  34. #app-animation.pop .app-animation-enter.app-animation-enter-active {
  35. opacity: 1;
  36. }
  37. #app-animation.pop .app-animation-leave {
  38. position: absolute;
  39. opacity: 1;
  40. transform: translate3d(0, 0, 0);
  41. transition: all 0.2s ease;
  42. }
  43. #app-animation.pop .app-animation-leave.app-animation-leave-active {
  44. opacity: 0;
  45. transform: translate3d(100%, 0, 0);
  46. }