Created
July 31, 2014 08:53
-
-
Save P233/efe05764ee61d0e76c03 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
// ---- | |
// Sass (v3.4.0.rc.2) | |
// Compass (v1.0.0.alpha.21) | |
// ---- | |
$value-1: one; | |
$value-2: two; | |
$list-1: one two; | |
$list-2: three four; | |
$empty: (); | |
body { | |
// combine two single values, works fine | |
list-1: append($value-1, $value-2, comma); | |
// combine two space separated lists, not works | |
list-2: append($list-1, $list-2, comma); | |
list-2-length: length(append($list-1, $list-2, comma)); | |
// combine an empty value and two space separated lists, works fine again | |
list-3: append(append($empty, $list-1), $list-2, comma); | |
list-3-length: length(append(append($empty, $list-1), $list-2, comma)); | |
} |
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
body { | |
list-1: one, two; | |
list-2: one, two, three four; | |
list-2-length: 3; | |
list-3: one two, three four; | |
list-3-length: 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment