csslint icon indicating copy to clipboard operation
csslint copied to clipboard

Fatal error: margin in keyframes

Open toptalo opened this issue 5 years ago • 0 comments

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

toptalo avatar Feb 19 '19 13:02 toptalo