Skip to content

Instantly share code, notes, and snippets.

@seven-phases-max
Created January 30, 2016 22:37
Show Gist options
  • Save seven-phases-max/d8f3fad4b4f5d407739c to your computer and use it in GitHub Desktop.
Save seven-phases-max/d8f3fad4b4f5d407739c to your computer and use it in GitHub Desktop.
.mixin() {
@tmp: 42;
width: @tmp * 2;
}
usage {
.mixin();
}
.mixin() {
@tmp: 3; // <- this should not affect `width` of the first .mixin
height: @tmp * 3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment