I try to set up this LESS mixin for CSS animation keyframes:
.keyframes(@name, @from, @to) {;
@-webkit-keyframes \"@name\" {
from {
@from;
How about this:
@-webkit-keyframes some-animation {.mixi-frames;}
@-moz-keyframes some-animation {.mixi-frames;}
@-ms-keyframes some-animation {.mixi-frames;}
@-o-keyframes some-animation {.mixi-frames;}
@keyframes some-animation {.mixi-frames;}
.mixi-frames () {
from {width: 254px;}
to {width: 512px;}
}
You need to do it for each animation. Taken from: http://radiatingstar.com/css-keyframes-animations-with-less