Last active
January 4, 2016 07:59
-
-
Save drocarmo/8592708 to your computer and use it in GitHub Desktop.
Create a sky feeeeeel, ya feel?
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
$darkblue: #0C346B; | |
$lightblue: #1C7AFC; | |
@mixin gradient($from, $to) { | |
background-color: $from; | |
background: -moz-linear-gradient(top, $from 0%, $to 100%); | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$from), color-stop(100%,$to)); | |
background: -webkit-linear-gradient(top, $from 0%,$to 100%); | |
background: -o-linear-gradient(top, $from 0%,$to 100%); | |
} | |
body { | |
@include gradient($lightblue, $darkblue); | |
background-size: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment