Home  >  Article  >  Web Front-end  >  vue css animation

vue css animation

php中世界最好的语言
php中世界最好的语言Original
2018-02-24 10:16:562026browse

This time I will bring you vue’s cssanimation, what are the precautions for using vue’s css animation, the following is a practical case, let’s take a look.

.toggle-cart-enter-active, .toggle-cart-leave-active {
transition: 
all
 .3s ease-out;
}
.toggle-cart-enter, .toggle-cart-leave-active {
trans
for
m: translateY(100%);
}

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to php Chinese website Other related articles!

Related reading:

Commonly used input text box content is automatically vertically centered and the default prompt text is empty when clicked

iframe Various parameters

htmlHow to implement mouse hover prompt A tag content

The scroll bar in HTML has What are the usage tips

The above is the detailed content of vue css animation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn