Created
June 10, 2014 20:57
-
-
Save Minasokoni/b59aaa911c6344b60ca8 to your computer and use it in GitHub Desktop.
SCSS Gradient
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 gradient($from, $to) { | |
background-color: $from; | |
background-image: -moz-linear-gradient($from, $to); | |
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from($from), to($to)); | |
background-image: -webkit-linear-gradient($from, $to); | |
background-image: -o-linear-gradient($from, $to); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment