[css mode] Add simple support for @keyframes

Closes #2161