mirisuzanne / compass-animation

css3 animation plugin for compass
Other
362 stars 35 forks source link

Add `single-animation` mixin #13

Closed jeffmicklos closed 11 years ago

jeffmicklos commented 11 years ago

Passing a single animation to animation() is a bit wonky because you can't comma separate the properties, which is what we have come to expect with compass mixins. single-animation follows the same pattern as compass' single-box-shadow.

mirisuzanne commented 11 years ago

I don't think I would call it "wonky" to support the official syntax. :)

Anyway, this plugin has moved into the Compass core for 0.13 (currently in alpha on the master branch), so I'm not making changes here. I think we would likely accept a single-animation mixin for the compass module, but we're pushing all the css3 modules towards official syntax now - so you may want to get used to going comma-less. The old comma-delimited approach was due to technical limitations in Sass that have since been fixed.