t32k / stylestats

StyleStats is a library to collect CSS statistics.
MIT License
1.83k stars 70 forks source link

@keyframes causes CSS parse error #75

Closed MichaelArestad closed 8 years ago

MichaelArestad commented 10 years ago

Kept getting an error and noted that any @keyframe block prevents stylestats from being amazing.

t32k commented 9 years ago

@MichaelArestad Do you still have the error? Please tell me sample CSS code has the error if you have it.

slwfleming commented 9 years ago

I am still seeing this error. Both of these show up with the @keyframes error.

@keyframes fadein { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }

@-webkit-keyframes fadein { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }

t32k commented 9 years ago

@slwfleming What is StyleStats version you use? I didn't see the error in v5.1.0.

slwfleming commented 9 years ago

Version: 5.1.0

This is the exact output from compass of my scss:

@keyframes my-fadein{0%{opacity:0}100%{opacity:1}}

t32k commented 9 years ago

What kind of error do you have? Please paste the error message here.