Skip to content

Instantly share code, notes, and snippets.

@juanpasolano
Created January 30, 2014 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanpasolano/8722023 to your computer and use it in GitHub Desktop.
Save juanpasolano/8722023 to your computer and use it in GitHub Desktop.
Spacers with less
.spacer (@index) when (@index > 0) {
.spacer-@{index} {
width: 100%;
height: 10px*@index;
}
.spacer(@index - 1);
}
.spacer(8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment