Skip to content

Instantly share code, notes, and snippets.

@hagenburger
Created June 30, 2015 08:33
Show Gist options
  • Save hagenburger/1ea1287c028efb70c95a to your computer and use it in GitHub Desktop.
Save hagenburger/1ea1287c028efb70c95a to your computer and use it in GitHub Desktop.
LibSass interpolation bug
$name: "world";
// works:
.#{$name} {
test: test;
}
// fails:
.-#{$name} {
test: test;
}
// workaround:
.#{"-" + $name} {
test: test;
}
// works:
.hello-#{$name} {
test: test;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment