Answer the question
In order to leave comments, you need to log in
How to animate keyframes in SCSS without breaking the syntax?
Goodnight. It is necessary to make the animation long enough in frames, I decided to do it on SCSS, but I ran into the fact that the variable next to % causes a syntax error.
@for $i from 100 to 33 {
@keyframes backwheel {
#{$i}% {
background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.6186274509803921) #{$i} %);
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question