Created
January 23, 2013 19:15
-
-
Save codingdesigner/4611762 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com, the Sass playground.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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