Skip to content

Instantly share code, notes, and snippets.

@lunelson
Created June 7, 2013 08:29
Show Gist options
  • Save lunelson/5727850 to your computer and use it in GitHub Desktop.
Save lunelson/5727850 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com, the Sass playground.
// ---
// Sass (v3.2.9)
// ---
@mixin intern($v,$n:$n) {
out: $v * $n;
}
@mixin test1($n){
$v1: 1;
$v2: 2;
@include intern($v1);
}
@function str($n,$value:false) {
@if $value { @return unquote('#{$n}; #{$value}: #{$n}px'); }
@else { @return $n; }
}
.test {
value: str(5rem, value);
}
.test {
value: 5rem; value: 5rempx;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment