Skip to content

Instantly share code, notes, and snippets.

@jaykz52
Created December 16, 2010 00:27
Show Gist options
  • Save jaykz52/742832 to your computer and use it in GitHub Desktop.
Save jaykz52/742832 to your computer and use it in GitHub Desktop.
An example of using mixins in Sass
@mixin colorize {
$color: blue;
$bg-color: green;
color: $color;
background-color: $bg-color;
}
p {
@include colorize;
margin-bottom: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment