Syntaxfehler im Visual Studio-Code „expected [css-rcurlyexpected]“CSS

CSS verstehen
Anonymous
 Syntaxfehler im Visual Studio-Code „expected [css-rcurlyexpected]“

Post by Anonymous »

Ich erhalte den Fehler [scss] } erwartet [css-rcurlyexpected] im visuellen Code für die kommentierte Zeile. Weiß jemand warum?

Code: Select all

@keyframes wordSlider {
$steps: -0%, -25%, -50%, -75%;
@for $index from 0 to length($steps)-1 {
$next: $index + 1;
$step: floor(100/ (length($steps)-1));
$animation_step: floor($step * 0.2);
//#{$step*$index}%,
//#{($step*$next) - $animation_step}% {
//   transform: translateY(nth($steps, $index + 1));
//}
100% {
transform: translateY(nth($steps, length($steps)));
}
}
}

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post