Assuming the use of CSS3 animations will be suitable for our project, it's at this point that we can begin to make the transition to using PostCSS.
If you're expecting to see an array of plugins, then I'm sorry to disappoint—at present, there are only four plugins for use with animations:
@keyframes from Animate.css. This plugin uses https://github.com/zhouwenbin/postcss-animation-data, which hosts the converted animations.cubic-bezier() equivalent values.One could be forgiven for wondering what is possible with such a small range of plugins! We will add to the list a little later on though. Toward the end of the chapter, we will create a version of the postcss-animation-data plugin that allows us to use the Magic animations from http://www.minimamente.com/example/magic_animations/.
Okay, let's put some of these to use: time for a demo!