isso/docs/_static/css/bourbon/functions/_compact.scss

12 lines
190 B
SCSS
Raw Permalink Normal View History

2013-11-24 20:43:57 +00:00
// Remove `false` values from a list
@function compact($vars...) {
$list: ();
@each $var in $vars {
@if $var {
$list: append($list, $var, comma);
}
}
@return $list;
}