Animating cart total
If we once again look at the finished product, you can see that I've added a CSS fade animation to the cart items when they're added. [add some items]
In fact, let's reload it, and you'll see that the total fades in as well.
To add this CSS animation to our project, we're going to use Vue's transition system.
Let's begin by fading the total in.
Click to load comments...