Skip to content

Instantly share code, notes, and snippets.

@codingdesigner
Created January 23, 2013 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingdesigner/4611762 to your computer and use it in GitHub Desktop.
Save codingdesigner/4611762 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com, the Sass playground.
// Sass v3.2.5
@mixin debug-outline($color: red, $background-color: false) {
outline: 1px solid $color;
@if $background-color != false {
background-color: $background-color;
}
}
.foo {
@include debug-outline();
}
.bar {
@include debug-outline(green, $background-color: yellow);
}
.baz {
@include debug-outline(purple);
}
.foo {
outline: 1px solid red;
}
.bar {
outline: 1px solid green;
background-color: yellow;
}
.baz {
outline: 1px solid purple;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment