That’s why loops should always serve a limited purpose — usually defined by a number of incremental repetitions or a collection of objects. There are several ways to do this. Now we can call the color() function anywhere in our code. Here it is again in Stylus and Less: See the Pen Stylus For-Loop Grids by Miriam Suzanne (@mirisuzanne) on CodePen. Walkcycle with music loop by CSS-Tricks (@css-tricks) It loops through the tags within the #example