Created
September 7, 2016 04:01
-
-
Save tomrishworth/9337eabab2d00fd612c2674c77452c24 to your computer and use it in GitHub Desktop.
Sass 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
@for $i from 1 through 10 { | |
$delay-start: 50; | |
$delay: 50ms; | |
.navbar-nav > li:nth-child(#{$i}) { | |
a, .dropdown-toggle { | |
transition-delay: ($delay * $i + $delay-start) !important; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment