mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
6e89866694
* feat: add prefix * fix: 剩余 * fix: test * fix: test * fix: test * fix: test * fix: 传了 name 则使用传的 * fix: pop 添加 prefix * fix: Ok OK ? * fix: modal confirm * fix: select * fix: test
33 lines
476 B
Plaintext
33 lines
476 B
Plaintext
.fade-motion(@className, @keyframeName) {
|
|
@name: ~'@{ant-prefix}-@{className}';
|
|
.make-motion(@name, @keyframeName);
|
|
.@{name}-enter,
|
|
.@{name}-appear {
|
|
opacity: 0;
|
|
animation-timing-function: linear;
|
|
}
|
|
.@{name}-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;
|
|
}
|
|
}
|