refactor: vue3 transitions

This commit is contained in:
Fabio Di Stasio 2022-04-24 23:24:21 +02:00
parent b8e734d827
commit 6780401cb7
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1); transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
} }
.slide-fade-enter, .slide-fade-enter-from,
.slide-fade-leave-to { .slide-fade-leave-to {
transform: translateX(10px); transform: translateX(10px);
opacity: 0; opacity: 0;
@ -17,7 +17,7 @@
transition: opacity 0.5s; transition: opacity 0.5s;
} }
.fade-enter, .fade-enter-from,
.fade-leave-to { .fade-leave-to {
opacity: 0; opacity: 0;
} }