Created
April 16, 2014 18:54
-
-
Save grayghostvisuals/10920334 to your computer and use it in GitHub Desktop.
Dustin's Delay Loop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.q-as > li { | |
opacity: 0; | |
$delay: 0ms; | |
@for $i from 1 through 4 { | |
$delay: $delay + 40; | |
&:nth-child(#{$i}) { @include transition-delay($delay); } | |
} | |
.visible & { opacity: 1; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment