Skip to content

Instantly share code, notes, and snippets.

@tomrishworth
Created September 7, 2016 04:01
Show Gist options
  • Save tomrishworth/9337eabab2d00fd612c2674c77452c24 to your computer and use it in GitHub Desktop.
Save tomrishworth/9337eabab2d00fd612c2674c77452c24 to your computer and use it in GitHub Desktop.
Sass loop
@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