I have a basic scss file that contains (among other things) this:
@keyframes fade{
0% { opacity: 0; }
100% { opacity: 1; }
}
@-moz-keyframes fade{
0% { opacity: 0; }
100% { opacity: 1; }
}
@-webkit-keyframes fade{
0% { opacity: 0; }
100% { opacity: 1; }
}
@-ms-keyframes fade{
0% { opacity: 0; }
100% { opacity: 1; }
}
// <--- Error thrown on this line
@-o-keyframes fade{
0% { opacity: 0; }
100% { opacity: 1; }
}
When trying to compile, I get an invalid top level expression
on the line that I indicated in my code above. Okay, so I tried removing the following code:
@-ms-keyframes fade{
0% { opacity: 0; }
100% { opacity: 1; }
}
And now it compiles just fine. Why would sass have an issue with this block of code? I'm using node-sass (libsass 3.2).