Add dropdown transitions
This commit is contained in:
11
src/assets/transitions.css
Normal file
11
src/assets/transitions.css
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
.dropdown-enter-active,
|
||||
.dropdown-leave-active {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.dropdown-enter-from,
|
||||
.dropdown-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
Reference in New Issue
Block a user