Skip to content

Instantly share code, notes, and snippets.

@Usse
Created August 28, 2013 14:39
Show Gist options
  • Save Usse/6366749 to your computer and use it in GitHub Desktop.
Save Usse/6366749 to your computer and use it in GitHub Desktop.
Less H1 dimensions generator
@iterations: 6;
.h(@index) when (@index > 0) {
h@{index} {
font-size: 72px - @index*10;
}
.h(@index - 1);
}
.h(0) {}
.h(@iterations);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment