Skip to content

Instantly share code, notes, and snippets.

@lunelson
Created November 1, 2013 12:32
Show Gist options
  • Save lunelson/7264754 to your computer and use it in GitHub Desktop.
Save lunelson/7264754 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
// See also `chunk`, `debug`, `sort` and other functions
// on the official site: http://sassylists.com
@import "compass";
@import "SassyLists";
$list: b a d a s s;
SassyLists:before {
list: $list;
first-item: first($list);
last-item: last($list);
last-index: last-index($list, a);
random-value: random-value($list);
slice: slice($list, 4, 6);
remove: remove($list, a);
remove-nth: remove-nth($list, 2);
remove-duplicates: remove-duplicates($list);
replace: replace($list, s, 5);
replace-nth: replace-nth($list, 2, 4);
insert-nth: insert-nth($list, 2, a);
prepend: prepend($list, s o);
is-symmetrical: is-symmetrical($list);
count-values: count-values($list);
reverse: reverse($list);
loop: loop($list, 1);
to-string: to-string($list, "-");
}
SassyLists:before {
list: b a d a s s;
first-item: b;
last-item: s;
last-index: 4;
random-value: s;
slice: a s s;
remove: b d s s;
remove-nth: b d a s s;
remove-duplicates: b a d s;
replace: b a d a 5 5;
replace-nth: b 4 d a s s;
insert-nth: b a a d a s s;
prepend: s o b a d a s s;
is-symmetrical: false;
count-values: b 1, a 2, d 1, s 2;
reverse: s s a d a b;
loop: s b a d a s;
to-string: "b-a-d-a-s-s-";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment