Skip to content

Instantly share code, notes, and snippets.

@kosei27
Created February 4, 2015 10:54
Show Gist options
  • Save kosei27/1a7c69dd552d571acb5a to your computer and use it in GitHub Desktop.
Save kosei27/1a7c69dd552d571acb5a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.11)
// Compass (v1.0.3)
// ----
/* Sass 3.2.x
* -> Required argument $values must come before any optional arguments.
*/
@mixin foo($val-1: 0, $val-2...) {
val-1: $val-1;
val-2: $val-2;
}
.sample {
@include foo(bar, baz, foobar);
}
/* Sass 3.2.x
* -> Required argument $values must come before any optional arguments.
*/
.sample {
val-1: bar;
val-2: baz, foobar;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment