Skip to content

Instantly share code, notes, and snippets.

@laracasts
Created November 24, 2013 16:05
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 laracasts/7628742 to your computer and use it in GitHub Desktop.
Save laracasts/7628742 to your computer and use it in GitHub Desktop.
.scss vs .sass.
@mixin linear-gradient($options...) {
background: -webkit-linear-gradient($details);
background: -moz-linear-gradient($details);
background: linear-gradient($details);
}
.foo {
@include linear-gradient(top, red, green);
}
// OR
@mixin linear-gradient($options...)
background: -webkit-linear-gradient($details)
background: -moz-linear-gradient($details)
background: linear-gradient($details)
.foo
+linear-gradient(top, red, green);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment