Skip to content

Instantly share code, notes, and snippets.

@seven-phases-max
Last active August 29, 2015 13:57
Show Gist options
  • Save seven-phases-max/9609992 to your computer and use it in GitHub Desktop.
Save seven-phases-max/9609992 to your computer and use it in GitHub Desktop.
.some {
.mixin("foo.png", 42px, {who: am I?;};);
}
.mixin(@value) {
background: extract(@value, 1);
min-height: extract(@value, 2);
@neverlate: extract(@value, 3);
@neverlate();
}
// same possible with variables - but indirectly (room for improvement), e.g.:
@007: {.some};
@list: "bar.jpg" auto @007;
.else {
@yetagain: extract(@list, 3);
@yetagain();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment