Skip to content

Instantly share code, notes, and snippets.

@JawsomeJason
Created January 19, 2017 19:43
Show Gist options
  • Save JawsomeJason/0fbc2cca4c4f9cc573d457f39514cdcb to your computer and use it in GitHub Desktop.
Save JawsomeJason/0fbc2cca4c4f9cc573d457f39514cdcb to your computer and use it in GitHub Desktop.
@list: apple, satsuma, banana, pear;
.loop(@index) when (@index <= length(@list)) {
@item: extract(@list, @index);
.fruit-@{item} {
content: "Just a test.";
}
.loop(@index + 1);
}
.loop(1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment