I try to make transitions between components in vue js what I try is to make a type of slider with a form, each side is a component and pressing continue changes the component to the right and if they press backward it goes to the left.
are the styles I occupy
.fadeInLeft-enter-active {
animation: slideInRight 1s;
}
.fadeInLeft-leave-active {
animation: slideInLeft .5s reverse;
}
.fadeInRight-enter-active {
animation: slideInLeft 1s;
}
.fadeInRight-enter-active {
animation: slideInRight .5s reverse;
}
If I go forward the animations look good but if I press the animation returns it does it wrong.