mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
Add adjust animation for select
This commit is contained in:
parent
e82cc1b251
commit
b910d353df
@ -317,6 +317,24 @@
|
||||
}
|
||||
|
||||
.@{select-prefix-cls}-dropdown {
|
||||
&.slide-up-enter.slide-up-enter-active&--below,
|
||||
&.slide-up-appear.slide-up-appear-active&--below {
|
||||
animation-name: antSlideUpIn;
|
||||
}
|
||||
|
||||
&.slide-up-enter.slide-up-enter-active&--top,
|
||||
&.slide-up-appear.slide-up-appear-active&--top {
|
||||
animation-name: antSlideDownIn;
|
||||
}
|
||||
|
||||
&.slide-up-leave.slide-up-leave-active&--below {
|
||||
animation-name: antSlideUpOut;
|
||||
}
|
||||
|
||||
&.slide-up-leave.slide-up-leave-active&--top {
|
||||
animation-name: antSlideDownOut;
|
||||
}
|
||||
|
||||
&-menu-item {
|
||||
transition: background 0.3s ease;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user