3D Transforms - Spinning-rotateY

Exercise in Javascript and CSS

The buttons onclick to a js function which either adds or removes a css class containing the transform.

In this instance the transform forms part of a class that call a css keyframe animation. See the code for details

Anybody here
there is also a transition effect built in for good measure