Skip to content

Instantly share code, notes, and snippets.

@goldhand
Created July 12, 2016 17:15
Show Gist options
  • Save goldhand/0033d1eb227b426e08f2a77bcf8ee2d6 to your computer and use it in GitHub Desktop.
Save goldhand/0033d1eb227b426e08f2a77bcf8ee2d6 to your computer and use it in GitHub Desktop.
Just a loop in less XD
circle {
.nthloop(8);
}
.nthloop(@counter) when (@counter > 0) {
.nthloop((@counter - 1));
&:nth-of-type(@{counter}) {
animation-delay: (@counter * .1s);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment