Created
March 7, 2015 14:55
-
-
Save cole007/70e165db3dffde0aa0f4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$core: #F7E900; | |
$accent: #FF5F09; | |
$contrast: #A0005E; | |
$deep: #41004B; | |
$brand: $core, $accent, $contrast, $deep; | |
@each $item in $brand { | |
li.brand-#{$item} { | |
background: $item }} | |
// is there any way in the above to define my selector as li.brand-core rather than li.brand-#F7E900? |
This file contains hidden or 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
li.brand-#F7E900 { | |
background: #F7E900; | |
} | |
li.brand-#FF5F09 { | |
background: #FF5F09; | |
} | |
li.brand-#A0005E { | |
background: #A0005E; | |
} | |
li.brand-#41004B { | |
background: #41004B; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment