name:bounce
成功
.bounce-enter-active{
transition:all 0.3s linear;
transform: translateY(0%);
}
.bounce-enter{
transform: translateY(100%);
}
失败
.bounce-enter{
transform: translateY(100%);
}
.bounce-enter-active{
transition:all 0.3s linear;
transform: translateY(0%);
}
CSS中的样式覆盖原则