Skip to content

Instantly share code, notes, and snippets.

@guillermorangel
Created September 23, 2013 19:57
Show Gist options
  • Save guillermorangel/6676025 to your computer and use it in GitHub Desktop.
Save guillermorangel/6676025 to your computer and use it in GitHub Desktop.
list color variation
@for $i from 1 through 4 {
&:nth-child(#{$i}) {
background-color: $color_secondary;
}
$color_secondary: lighten( $color_secondary, 10% );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment