There is such a code
.image position: relative @for $i from 0 to 7 &:nth-child(#{$i + 1}) &:before content: '' @include sprite($advantages-$i) I want to use a loop, in it @include sprite($advantages-1) will return styles for the image from the sprite. How to use variables correctly, so that at each iteration of the loop I would get @include sprite($advantages-1) , @include sprite($advantages-2) , etc.?
$advantages-1,$advantages-2and so on? - Vitaliy Emelyantsev