Skip to content

Instantly share code, notes, and snippets.

@camwhite
Created January 6, 2016 03:29
Show Gist options
  • Save camwhite/7a16c79b6b2b07dc5e68 to your computer and use it in GitHub Desktop.
Save camwhite/7a16c79b6b2b07dc5e68 to your computer and use it in GitHub Desktop.
@mixin randomizer($multiple, $lum) {
@for $i from 1 through 5 {
&:nth-child(#{$i}) {
background: hsl($multiple * $i, 100%, $lum);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment