vue项目中的slideBar动画实现
2018-01-22 本文已影响0人
G_whk
.side-enter-to, .side-leave-to{
transition: opacity 0.3s
}
.side-enter, .side-leave-to{
opacity: 0;
}
.fade-enter-to, .fade-leave-to{
transition: transform 0.3s
}
.fade-enter, .fade-leave-to{
transform:translate3d(-286px,0,0)
}