[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
-5
View File
@@ -8,7 +8,6 @@
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.7);
animation: van-fade-in .3s both;
}
&-overflow-hidden {
@@ -77,7 +76,3 @@
.popup-slide-left-enter, .popup-slide-left-leave-active {
transform: translate3d(-100%, -50%, 0);
}
.popup-fade-enter, .popup-fade-leave-active {
opacity: 0;
}