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?

screen shot 2014-07-04 at 14 14 00

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 21 (1 by maintainers)

Most upvoted comments

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