list_separator

list_separator($list)

Returns the separator of a list. If the list doesn’t have a separator due to having fewer than two elements, returns space.

Examples:

list-separator(1px 2px 3px) => space
list-separator(1px, 2px, 3px) => comma
list-separator('foo') => space

Parameters:

  • $list (Base)

Returns:

  • (String) comma or space
doc_Sass
2016-11-11 13:09:13
Comments
Leave a Comment

Please login to continue.