Skip to content

Instantly share code, notes, and snippets.

@angeliquejw
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angeliquejw/9ec6b6d59e3709808a43 to your computer and use it in GitHub Desktop.
Save angeliquejw/9ec6b6d59e3709808a43 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.4)
// ----
$base: #D4E744;
.rgba {
@for $i from 1 through 9 {
li:nth-child(#{$i}) {
background:rgba($base, 0.1 * $i);
}
}
}
.rgba li:nth-child(1) { background: rgba(212, 231, 68, 0.1); }
.rgba li:nth-child(2) { background: rgba(212, 231, 68, 0.2); }
.rgba li:nth-child(3) { background: rgba(212, 231, 68, 0.3); }
.rgba li:nth-child(4) { background: rgba(212, 231, 68, 0.4); }
.rgba li:nth-child(5) { background: rgba(212, 231, 68, 0.5); }
.rgba li:nth-child(6) { background: rgba(212, 231, 68, 0.6); }
.rgba li:nth-child(7) { background: rgba(212, 231, 68, 0.7); }
.rgba li:nth-child(8) { background: rgba(212, 231, 68, 0.8); }
.rgba li:nth-child(9) { background: rgba(212, 231, 68, 0.9); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment