Skip to content

Instantly share code, notes, and snippets.

@chriseppstein
Forked from Snugug/wrong.scss
Created June 28, 2012 02:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriseppstein/3008544 to your computer and use it in GitHub Desktop.
Save chriseppstein/3008544 to your computer and use it in GitHub Desktop.
$test:();
@for $i from 0 through 5 {
$test: append($test, a b, comma);
}
@debug $test;
@debug nth($test, 1);
@debug nth(nth($test, 1),2);
@Snugug
Copy link

Snugug commented Jun 28, 2012

$test:();
@for $i from 0 through 5 {
  $holder: 'This is #{$i}' $i;
  $test: join($test, $holder, comma);
}
@debug $test;
@debug nth($test, 1);

@metaskills
Copy link

Interesting, is playing around with my question here?
https://gist.github.com/3170386

@sivagao
Copy link

sivagao commented Feb 20, 2013

the output:
DEBUG: a b, a b, a b, a b, a b, a b
DEBUG: a b
DEBUG: b

o(╯□╰)o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment