Last time we tried to animate the inners of a boostrap carousel. Now the thing is, try and catch the left and
right aspect. Here we can have some fun for like .6seconds!
The goal is to animate the carousel in and out, just like bootstrap but with some more flair. I dont want to
think about the animations so for now we just use
Animate.css for those! Next is to check the classes used in
the carousel. When i was searchin i found a .carousel-item-left and a .carousel-item-right
class that are put on the elements when them move to the left, or to the right.
Note that if we go to the right we only have -right class. The in and the out is added using
the .active class. If an element has both it goes out. And only a -left or a
-right it is the incoming element.
Zoom example
So this is what it will look like using the zoomInRight and zoomInLeft
animations from Animate.css.
And we are done here. Next you can add more animations on the items using the active class. As exampled on
the first
Animate a carousel! example to
make it more awesome!