noprompt/garden — pull request #9 by crooney (2013-07-30 20:32:19+00:00)
Title: support at-rules for keyframes.

Hey,

Just a quick pass to get it working for something I'm doing: I didn't like maintaining a separate stylesheet for 2 tiny animations.

It's looking for an animation name and vector of rules, e.g.:

(css (at-keyframes :myanim [[:0% {:top :0px}] [:100% {:top :350px}]]

The at-names business is there because animations absolutely demand browser specific prefixes and now I can do something like

(def mwk-keyframes (partial at-keyframes ["keyframes" "-moz-keyframes" "-webkit-keyframes"]))

Cheers,

Chris