Created
January 28, 2014 18:45
-
-
Save tobystokes/8673603 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v0.7.0) | |
// ---- | |
//interpolation bug in libsass example | |
$one: one; | |
$two: two; | |
.variabubble { | |
background: url(#{$one}-#{$two}.png); | |
// seems ok in property or value, but just not inside () ? | |
property-#{one}-#{two}: output; | |
property: output-#{one}-#{two}; | |
background: #{$one}-#{$two}; // without () | |
// background: #{$one}-#{$two}.png; // this fails when I add the 'dot' | |
} | |
.variabubble2 { | |
//contains no dash character, that is trying to do math? | |
background: url(#{$one}#{$two}.png); | |
} | |
.variabubble3 { | |
//weirdly though, / is ok, although + and * aren't | |
background: url(#{$one}/#{$two}.png); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.variabubble { | |
background: url(#{$one}-#{$two}.png); | |
property-one-two: output; | |
property: output-one-two; | |
background: one-two; } | |
.variabubble2 { | |
background: url(onetwo.png); } | |
.variabubble3 { | |
background: url(one/two.png); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment