Created
November 24, 2013 16:05
-
-
Save laracasts/7628742 to your computer and use it in GitHub Desktop.
.scss vs .sass.
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
@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