sass / dart-sass

The reference implementation of Sass, written in Dart.
https://sass-lang.com/dart-sass
MIT License
3.87k stars 350 forks source link

At-rules may not be used within keyframe blocks #2234

Closed filipbekic01 closed 3 months ago

filipbekic01 commented 3 months ago

Worked well in version: 1.75.0 Bug in version: 1.76.0

I use Vue 3 (sass) in combination with tailwind. Code block that's causing error:

<style lang="scss" scoped>
@keyframes shake {
  10%,
  90% {
    @apply -translate-x-px;
  }

  20%,
  80% {
    @apply translate-x-0.5;
  }

  30%,
  50%,
  70% {
    @apply -translate-x-1;
  }

  40%,
  60% {
    @apply translate-x-1;
  }
}
</style>
image
nex3 commented 3 months ago

Duplicate of https://github.com/sass/sass/issues/3859