mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
speed up basic animation
This commit is contained in:
parent
88f040c429
commit
617c0e4618
@ -92,7 +92,7 @@
|
||||
}
|
||||
|
||||
.notification-fade-effect {
|
||||
animation-duration: 0.3s;
|
||||
animation-duration: 0.24s;
|
||||
animation-fill-mode: both;
|
||||
animation-timing-function: @ease-in-out;
|
||||
}
|
||||
@ -106,6 +106,7 @@
|
||||
|
||||
&-fade-leave {
|
||||
.notification-fade-effect();
|
||||
animation-duration: 0.2s;
|
||||
animation-play-state: paused;
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
.motion-common() {
|
||||
animation-duration: .3s;
|
||||
animation-duration: .24s;
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
.motion-common-leave() {
|
||||
animation-duration: .2s;
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
@ -10,7 +15,7 @@
|
||||
animation-play-state: paused;
|
||||
}
|
||||
.@{className}-leave {
|
||||
.motion-common();
|
||||
.motion-common-leave();
|
||||
animation-play-state: paused;
|
||||
}
|
||||
.@{className}-enter.@{className}-enter-active,
|
||||
|
Loading…
Reference in New Issue
Block a user