Skip to content

Instantly share code, notes, and snippets.

@bkerley
Forked from lessallan/@for
Created November 7, 2012 19:50
Show Gist options
  • Save bkerley/4033942 to your computer and use it in GitHub Desktop.
Save bkerley/4033942 to your computer and use it in GitHub Desktop.
@for $i from 1 through 35
.picture:nth-child($i)
+animate(fadeIn, 1s, ($i)s)
@mixin animate($a, $b, $c)
display: none
@for $i from 1 through 35
.picture:nth-child(#{$i})
+animate(fadeIn, 1s, #{$i}s)
@braidn
Copy link

braidn commented Nov 7, 2012

BOOM! Make the Ruby happen, only thing I could think of that looks off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment