Skip to content

Instantly share code, notes, and snippets.

View franzheidl's full-sized avatar

Franz Heidl franzheidl

View GitHub Profile
@function arrayToString($list, $separator: " ") {
$str: null;
@each $item in $list {
$i: index($list, $item);
@if $i == 1 {
$str: $str #{$item};
}
@else {
$str: $str#{$separator} #{$item};
}