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.
32 lines
456 B
32 lines
456 B
9 years ago
|
.fade-motion(@className, @keyframeName) {
|
||
|
.make-motion(@className, @keyframeName);
|
||
9 years ago
|
.@{className}-enter,
|
||
|
.@{className}-appear {
|
||
9 years ago
|
opacity: 0;
|
||
|
animation-timing-function: linear;
|
||
|
}
|
||
|
.@{className}-leave {
|
||
|
animation-timing-function: linear;
|
||
|
}
|
||
10 years ago
|
}
|
||
|
|
||
9 years ago
|
.fade-motion(fade, antFade);
|
||
10 years ago
|
|
||
9 years ago
|
@keyframes antFadeIn {
|
||
10 years ago
|
0% {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
100% {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
9 years ago
|
@keyframes antFadeOut {
|
||
10 years ago
|
0% {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
100% {
|
||
|
opacity: 0;
|
||
|
}
|
||
10 years ago
|
}
|