Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ----
- // Sass (v3.4.14)
- // Compass (v1.0.3)
- // ----
- $alpha-color: red;
- $bravo-color: white;
- $charlie-color: blue;
- $colors:(
- am : $alpha-color,
- mer : $bravo-color,
- ca : $charlie-color
- );
- @mixin bg($thing) {
- @each $key, $value in $thing {
- &--#{$key} {
- background-color: #{$value};
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement