Created
December 6, 2013 22:11
-
-
Save KatieK2/7833015 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
// ---- | |
// Sass (v3.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
=coloured-flyout($color) | |
border: solid tint($color, 10%) 1px | |
background-color: tint($color, 20%) | |
.flyout | |
@each $color in green, brown, blue, darkred, maroon, saddlebrown | |
&.#{$color} | |
+coloured-flyout($color: $color) |
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
.flyout.green { | |
border: solid #198c19 1px; | |
background-color: #339933; | |
} | |
.flyout.brown { | |
border: solid #ae3f3f 1px; | |
background-color: #b75454; | |
} | |
.flyout.blue { | |
border: solid #1919ff 1px; | |
background-color: #3333ff; | |
} | |
.flyout.darkred { | |
border: solid #961919 1px; | |
background-color: #a23333; | |
} | |
.flyout.maroon { | |
border: solid #8c1919 1px; | |
background-color: #993333; | |
} | |
.flyout.saddlebrown { | |
border: solid #96572a 1px; | |
background-color: #a26a42; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment