Loops are one of those features that you don’t need every day. But when you do, it’s awfully nice that preprocessors can do it because native HTML and CSS cannot.
(That’s what the above is. The
when clause could be thought of exactly as
for loops in Stylus.
for loop actually behaves more like an
each loop, so here’s a more obvious
each loop example: