cloudhead/less.js — Issue #541: Can't parse webkit-keyframes
Author: rorourke
Created: 2012-01-02 20:02:33+00:00
State: open

Well, less.js does parse *some* keyframes. This for example works:
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
}
}

But this will fail to compile on the "0%" line.
@-webkit-keyframes zoom-zoom {
0% {
-webkit-transform: scale(.1);
opacity: 0;
}
70% {
-webkit-transform: scale(1.2);
opacity: 1;
}
100% {
-webkit-transform: scale(1);
}
}