You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
632 B

9 years ago
.fade-enter, .fade-appear {
10 years ago
opacity: 0;
.motion-common();
animation-timing-function: linear;
10 years ago
animation-play-state: paused;
}
.fade-leave {
.motion-common();
animation-timing-function: linear;
10 years ago
animation-play-state: paused;
}
9 years ago
.fade-enter.fade-enter-active, .fade-appear.fade-appear-active {
animation-name: antFadeIn;
10 years ago
animation-play-state: running;
}
.fade-leave.fade-leave-active {
animation-name: antFadeOut;
10 years ago
animation-play-state: running;
}
@keyframes antFadeIn {
10 years ago
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes antFadeOut {
10 years ago
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}