vue项目中的slideBar动画实现

            .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)
            }

你可能感兴趣的:(vue项目中的slideBar动画实现)