Skip to content

Instantly share code, notes, and snippets.

@alienresident
Created February 26, 2014 19:09
Show Gist options
  • Save alienresident/9236269 to your computer and use it in GitHub Desktop.
Save alienresident/9236269 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.5)
// Compass (v1.0.0.alpha.18)
// ----
$icons: ((help '\e003'), (close '\e005') ,(clos '\e004'));
//$icons: ((help '\e003'));
@mixin foo($list...){
//@debug length($list);
border-width: length($list);
}
@mixin generate-icons($pseudo: before, $prefix: '', $icons...) {
//@each $icon in $icons {
//border-width: length($icons);
//@if (length($icons) == 1) {
// #{$prefix}#{nth($icons, 1)}:#{$pseudo} {
//content: nth($icons, 2);
//}
//}
//}
}
.foo {
@include foo($icons);
//@include generate-icons(after, '.icon-', $icons);
}
.foo {
border-width: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment