Created
October 20, 2015 19:44
-
-
Save erwstout/a84d1375cfc387817051 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.5) | |
// ---- | |
//colors | |
$red: #e4002b; | |
$drk-red: #b4002b; | |
$maroon: #76232f; | |
$cream: #b0aa7e; | |
$baby-poop: #b5bd00; | |
$baby-poop-drk: #9a9500; | |
$turqoise: #009681; | |
$drk-grey: #333333; | |
//set the color for each tab | |
$list: $red $maroon $cream $baby-poop $turqoise; | |
$i: 0; | |
@mixin tab-colors{ | |
@each $tabcolor in $list{ | |
$i: $i+1; | |
.tab-#{$i}{ | |
background-color: #{$tabcolor}; | |
} | |
} | |
} | |
@include tab-colors(); |
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
.tab-1 { | |
background-color: #e4002b; | |
} | |
.tab-2 { | |
background-color: #76232f; | |
} | |
.tab-3 { | |
background-color: #b0aa7e; | |
} | |
.tab-4 { | |
background-color: #b5bd00; | |
} | |
.tab-5 { | |
background-color: #009681; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment