mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 04:36:19 +08:00
32 lines
456 B
Plaintext
32 lines
456 B
Plaintext
.fade-motion(@className, @keyframeName) {
|
|
.make-motion(@className, @keyframeName);
|
|
.@{className}-enter,
|
|
.@{className}-appear {
|
|
opacity: 0;
|
|
animation-timing-function: linear;
|
|
}
|
|
.@{className}-leave {
|
|
animation-timing-function: linear;
|
|
}
|
|
}
|
|
|
|
.fade-motion(fade, antFade);
|
|
|
|
@keyframes antFadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes antFadeOut {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
}
|