css only v-show fade animation

tip # 20

Vue.js supports animation using transitions api. But if you just need to animate a show/hide using v-show this css solve the problem:

Doesn't work with v-if, since it removes the element from the DOM.

Like what you read? Give Marcos Neves a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.