CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.76k stars 483 forks source link

keyframes inside media query parsing error #743

Open aldarund opened 6 years ago

aldarund commented 6 years ago
@media screen and (min-width:701px) {
    @keyframes bounce {
        0% {
            transform: translateX(50%);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

Which is valid css produce a error by csslint

  2 2 Parsing Errors Expected RBRACE at line 2, col 2. @keyframes bounce { All
  10 1 Parsing Errors Unexpected token '}' at line 10, col 1.}
eddpascoal commented 5 years ago

Same issue...