Browse Source
Merge pull request #1799 from hsldymq/fix-fade-transition
fix(Transition): fade-transition淡出淡入无效
pull/1820/head
jinmao88
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
0 deletions
-
src/design/transition/fade.less
|
|
|
@ -1,3 +1,15 @@ |
|
|
|
.fade-transition { |
|
|
|
&-enter-active, |
|
|
|
&-leave-active { |
|
|
|
transition: opacity 0.2s ease-in-out; |
|
|
|
} |
|
|
|
|
|
|
|
&-enter-from, |
|
|
|
&-leave-to { |
|
|
|
opacity: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.fade-enter-active, |
|
|
|
.fade-leave-active { |
|
|
|
transition: opacity 0.2s ease-in-out; |
|
|
|
|