MENU
List
length($list) | Returns the length of a list. |
nth($list, $n) | Returns a specific item in a list. |
set-nth($list, $n, $value) | Replaces the nth item in a list. |
join($list1, $list2, [$separator]) | Joins together two lists into one. |
append($list1, $val, [$separator]) | Appends a single value onto the end of a list. |
zip($lists…) | Combines several lists into a single multidimensional list. |
index($list, $value) | Returns the position of a value within a list. |
list-separator(#list) | Returns the separator of a list. |
The separator name must be 'space', 'comma', or 'auto'.
$a: 1px solid black;
$b: 5px dotted red;
div:after{
content: join($a,$b,comma);
}
div:after { content: 1px, solid, black, 5px, dotted, red; }