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

BUG mixin keyframes at helpers.scss #476

Open
pedromarquesm opened this issue Oct 3, 2018 · 0 comments
Open

BUG mixin keyframes at helpers.scss #476

pedromarquesm opened this issue Oct 3, 2018 · 0 comments

Comments

@pedromarquesm
Copy link

pedromarquesm commented Oct 3, 2018

Don't forget the #{$string }

Original code just had $animation-name, what caused the scss file to convert it as a name and not a variable, having no animations working on the app

@mixin keyframes($animation-name) {
  @-webkit-keyframes #{$animation-name} {
    @content;
  }
  @-moz-keyframes #{$animation-name} {
    @content;
  }
  @keyframes #{$animation-name} {
    @content;
  }
}
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