Last active
August 29, 2015 14:21
-
-
Save angeliquejw/9ec6b6d59e3709808a43 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
$base: #D4E744; | |
.rgba { | |
@for $i from 1 through 9 { | |
li:nth-child(#{$i}) { | |
background:rgba($base, 0.1 * $i); | |
} | |
} | |
} |
This file contains 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
.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