Created
November 13, 2013 21:41
-
-
Save zznq/7456902 to your computer and use it in GitHub Desktop.
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
$program-colors: 'teal' #008e8d, | |
'yellow' #e6c01e, | |
'green' #00bb66, | |
'blue' #0071ba, | |
'teal' #0b667c, | |
'magenta' #cc0066, | |
'light-blue' #0091ed, | |
'red' #e93e1d; | |
.program { | |
@each $color in $program-colors { | |
&.#{nth($color, 1)} { | |
a { | |
background-color: nth($color, 2); | |
} | |
label { | |
background-color: darken(nth($color, 2), 10); | |
} | |
} | |
} | |
} |
CSS The Programming Language!
Is SASS Turing complete?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice man!