In SASS, a loop is written like so:
@for $i from 1 through 100 { //stuff }
This would yield 1, 2, 3, 4... all the way to 100.
H
Other example more:
.my-class { $step : 5; $from : ceil( 1 /$step); $through : ceil( 100 /$step); $unit : '%'; @for $i from $from through $through { $i : $i * $step; width: $i#{$unit}; } }