Created
September 30, 2014 16:37
-
-
Save cimmanon/1763036618303d481951 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
<label>foo</label> | |
<label class="blue">foo</label> |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
.bullets { | |
$icon-bullet-size: 3.5em; | |
$colors: | |
desaturate(blue, 30), | |
desaturate(green, 10), | |
desaturate(yellow, 30), | |
desaturate(red, 30), | |
desaturate(goldenrod, 30); | |
padding: 2em; | |
overflow: auto; | |
text-align: center; | |
h2 { | |
@for $i from 1 to length($colors) { | |
&:nth-of-type(#{$i}) { | |
$color-from-list: nth($colors, $i); | |
color: $color-from-list; | |
} | |
} | |
} | |
} |
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
.bullets { | |
padding: 2em; | |
overflow: auto; | |
text-align: center; | |
} | |
.bullets h2:nth-of-type(1) { | |
color: #2626d9; | |
} | |
.bullets h2:nth-of-type(2) { | |
color: #067a06; | |
} | |
.bullets h2:nth-of-type(3) { | |
color: #d9d926; | |
} | |
.bullets h2:nth-of-type(4) { | |
color: #d92626; | |
} |
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
<label>foo</label> | |
<label class="blue">foo</label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment