[Improvement] uniform fade animation (#410)

This commit is contained in:
neverland
2017-12-11 20:00:26 +08:00
committed by GitHub
parent 49ef814d1e
commit 7dbb5db256
8 changed files with 36 additions and 25 deletions
-8
View File
@@ -17,10 +17,6 @@
transform: translate3d(-50%, -50%, 0);
background-color: rgba(39, 39, 39, .7);
&-wrapper {
transition: opacity .2s;
}
&__overlay {
position: fixed;
top: 0;
@@ -68,7 +64,3 @@
bottom: 50px;
}
}
.van-toast-fade-enter, .van-toast-fade-leave-to {
opacity: 0;
}