Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
@for $i from 0 to 2 { .color-#{$i} { color: nth($colors, $i); }}
@while $i <= 3 { .color-#{$i} { color: nth($colors, $i); } $i: $i + 1;}
@for $i from 1 through 3 { .color-#{$i} { color: nth($colors, $i); }}
@each $color, $index in $colors { .color-#{$index} { color: $color; }}
@each $color in $colors { .color-#{$color} { color: $color; }}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!