mirisuzanne / compass-animation

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

@keyframes? #8

Closed 0xHarrison closed 12 years ago

0xHarrison commented 12 years ago

I kept getting this error: Invalid CSS after "@keyframes": expected selector or at-rule, was "(in-fade) {") any ideas?

@keyframes(in-fade) { 0%{ @include opacity(0); } 100%{ @include opacity(1); } }

am I doing something wrong here?

version: Sass 3.2.0.alpha.275 (Bleeding Edge) Compass 0.12.2 (Alnilam)

mirisuzanne commented 12 years ago

That should be @include keyframes(...) {...}, but I guess maybe you figured that out.

0xHarrison commented 12 years ago

yea I did, thanks. https://github.com/ericam/compass-animation#for-example should be changed to @include tho.

mirisuzanne commented 12 years ago

Fixed. Thanks!