sass: append() merge two space separated lists problem
Hi
When I use the append()
function to merge two space separated list with comma, it returns three sub-lists rather than two. But if I merge the two lists via @for
loop, that works fine. Any idea please?
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 21 (1 by maintainers)
To create a new list out of two lists, use
join()
. It will enforce certain separator type between all items.To create a list of lists, simply use a comma.
Demo: http://sassmeister.com/gist/ee2b7f15d647d3a97405