Created
July 4, 2012 07:39
-
-
Save matthewcopeland/3045939 to your computer and use it in GitHub Desktop.
simple sample _gradients.scss partial, driven by _colors.scss
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
// let's chain our @mixin linear-gradient from _mixins.scss | |
// and drive the colors from _colors.scss | |
@mixin blue-gradient { | |
@include linear-gradient( top, $lightblue, $darkblue ); | |
&:hover { @include linear-gradient( top, lighten($lightblue, 10%), $darkblue ); | |
&:active { background: $darkblue; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment