Skip to content

Instantly share code, notes, and snippets.

@jestho
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save jestho/08177ed555b2d4ab9b05 to your computer and use it in GitHub Desktop.

Select an option

Save jestho/08177ed555b2d4ab9b05 to your computer and use it in GitHub Desktop.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
$default-list: (
key1 : value1,
key2 : value2
) !default;
$additional-list: (
add1 : value3,
add2 : value4
);
$list: join($default-list, $additional-list);
@each $key, $value in $list {
.#{$key} { content: $value; }
}
.key1 {
content: value1;
}
.key2 {
content: value2;
}
.add1 {
content: value3;
}
.add2 {
content: value4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment