Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use percentage in @keyframe rule #1657

Closed
clehnert-psl opened this issue Feb 26, 2015 · 1 comment
Closed

Cannot use percentage in @keyframe rule #1657

clehnert-psl opened this issue Feb 26, 2015 · 1 comment

Comments

@clehnert-psl
Copy link

When I attempt to convert this CSS

@keyframes dash {
  0% {
    stroke-dasharray: 1,200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89,200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89,200;
    stroke-dashoffset: -124;
  }
}

...using sass-convert, I get Error on line 2 of (css): Invalid CSS after "": expected selector, was "0%"

I know I can change the '0%' to 'from' and '100%' to 'to', but I don't think there are any other values I can use for a percentage other than 0 or 100.

@nex3 nex3 closed this as completed in 4e41909 Feb 27, 2015
@clehnert-psl
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant