Some thoughts on using animation in vue

When making animations in vue, we can easily think of components transition. Vue transitionprovides encapsulated components of use ), conditional display (use ), dynamic components, component root nodes. It can be understood as when the DOM contained in the component changes. In fact, there are still some animations that can be achieved directly with CSS3, such as dynamically adding classes and then creating animations.transitiontransitionv-ifv-showtransition

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325852864&siteId=291194637