I think having programmatic control of the animation can be very useful and lots of fun as well. Pure CSS is limited in that you could not do more sophisticated things such as stopping an animation at a specific point or calling a script once it ends or for any other purpose that CSS alone will just not fulfill. Some JavaScript implementations just involve the switching of classes which again is limited. But using JavaScript you could write a very powerful CSS animation library that does lots of cool stuff. Also you can make it easier to use than CSS through a nice API and by not having to deal with any of the vendor stuff
Hi there I think maybe for what you’re trying to accomplish you can get away with a simple CSS animation and perhaps a little javascript which just takes care of setting a CSS class to a dom node when appropriate, for example when you click a button. I actually think that would be a good exercise to get you learning a little more JavaScript because it would not be too complicated. No need for third party stuff really…