Created
March 14, 2017 23:48
-
-
Save devarispbrown/18a079d8b2038ffec14dc887e67a7b14 to your computer and use it in GitHub Desktop.
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
example.sass | |
$color: red | |
=my-border($color) | |
border: 1px solid $color | |
body | |
background: $color | |
+my-border(green) | |
example.scss | |
$color: red; | |
@mixin my-border($color) { | |
border: 1px solid $color; | |
} | |
body { | |
background: $color; | |
@include my-border(green); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment