Skip to content

Instantly share code, notes, and snippets.

@endtwist
Forked from dustinsenos/gist:3240838
Created August 2, 2012 21:41
Show Gist options
  • Save endtwist/3240894 to your computer and use it in GitHub Desktop.
Save endtwist/3240894 to your computer and use it in GitHub Desktop.
LESS Mixin with String Interpolation, broken?
@cdn: "rons-house";
.add-bg(@url) {
background-image: url(@url);
}
.foo {
.add-bg("@{cdn}/bar.png"); // why not this?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment