See the live demos in example.html to see the library in action. You can import example.html into Twine and open it up. The demos are heavily commented.
This demo integrates animate.css into Twine. Animate.css works by providing a set of pre-built CSS animations that can be applied to elements simply by using a set of class names. See the passages and story stylesheets in example.html for instructions and see animate.css's readme for additional documentation.
The demo also shows how to customize exisiting animations and how to import animations from cssanimate, a CSS animation generator.
Want to learn about CSS animations?
Want to see some cool examples of what CSS animations can do?