Add support for @keyframes. Fixes #1