Skip to content

Instantly share code, notes, and snippets.

@roryashfordbentley
Created October 2, 2014 15:08
Show Gist options
  • Save roryashfordbentley/e9daac263000825c8270 to your computer and use it in GitHub Desktop.
Save roryashfordbentley/e9daac263000825c8270 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
$array:(
allitems: (
subitems: (
item1: 'test1',
item2: 'test2',
item3: 'test3'
),
subitems2: (
item45: 'testsubitem'
)
)
);
//$columns: map-get(map-get($grid_options, options), columns);
$subitems: map-get( map-get($array, allitems), subitems);
@each $subitem in $subitems{
$value: nth($subitem,2);
.test{
val: $value;
}
}
.test {
val: "test1";
}
.test {
val: "test2";
}
.test {
val: "test3";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment