Coding task · Vue.js course · Module 13: Transitions & Animations

Practice: CSS Transition Classes

Write CSS styles for a fade animation - the element should appear and disappear smoothly.

Task

Define the classes .fade-enter-active, .fade-leave-active, .fade-enter-from, and .fade-leave-to.