question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with @keyframes

See original GitHub issue

Source:

body {
  background: red;
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

Result:

.my-prefix {
  background: red;
}
@keyframes fade-out {
  .my-prefix 0% {
    opacity: 1;
  }
  .my-prefix 100% {
    opacity: 0;
  }
}

For some reason this utility is also prefixing the “selectors” inside the @keyframes. Is there a way to ignore when inside this block (@keyframes)?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
darkopetreskicommented, May 5, 2019

@RadValentin thank you 😃

0reactions
RadValentincommented, May 3, 2019

Forgot to mention, patched version should be 1.7.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why keyframes are bad for character animation
Everything wrong with the keyframe animation process flows from this basic fact. Crossing effects between multiple layers of control, unwanted ...
Read more >
Solved: problems with keyframes wandering - 10788025
1 Correct answer. Right click the keyframe where the move begins, choose "Keyframe Interpolation" and make sure Spatial Interpolation is set to ...
Read more >
keyframes problem - Spine
When there is a couple of exactly the same keyframes, after cleaning Spine somehow interpreted them there is a move between them even...
Read more >
I have a problem with keyframes. : r/AfterEffects - Reddit
I've already fixed it, that was not the issue. ... Whenever this happens to me it's because for some reason that keyframe has...
Read more >
T60598 Shape key keyframes won't change in value. They ...
Granted, I'm fairly new, so I can't tell whether this is a bug or a mistake on my end. I had the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found