Skip to content

Instantly share code, notes, and snippets.

@yashprit
Created September 3, 2014 13:44
Show Gist options
  • Save yashprit/28ba833c111220a1397e to your computer and use it in GitHub Desktop.
Save yashprit/28ba833c111220a1397e to your computer and use it in GitHub Desktop.
Typical SCSS code
/* this is how a partials will look like*/
@import "../mixins/box-shadow";
@import "../mixins/error-message";
@import "../mixins/font-variant";
@import "../mixins/text-align";
@import "../mixins/variables";
/*This is how typical a mixin look like*/
@mixin box-shadow($top, $left, $blur, $color, $inset:"") {
-webkit-box-shadow:$top $left $blur $color #{$inset};
-moz-box-shadow:$top $left $blur $color #{$inset};
box-shadow:$top $left $blur $color #{$inset};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment