CSSLint / csslint

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

Fatal error: margin in keyframes #747

Open toptalo opened 5 years ago

toptalo commented 5 years ago

Using margins in animations is a bad idea, but this lines:

@keyframes example {
  0% {
    margin-left: 100px;
  }
  100% {
    margin-left: 0;
  }
}

returns:

[Lundefined:Cundefined]
>> ERROR: Fatal error, cannot continue: Cannot set property 'margin-left' of undefined undefined (undefined) Browsers: undefined