Created
June 18, 2014 17:13
-
-
Save mtrythall/7267446c39a1246df691 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<a href="#" class="example1">Hover over Me</a> | |
<a href="#" class="example2">Hover over Me</a> |
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
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
@mixin link-colors($base-color, $new-color: darken($base-color, 30%)) { | |
color: $base-color; | |
&:hover { | |
color: $new-color; | |
} | |
} | |
.example1 { | |
@include link-colors(tomato); | |
} | |
.example2 { | |
@include link-colors(green, blue); | |
} |
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
.example1 { | |
color: tomato; | |
} | |
.example1:hover { | |
color: #ad1a00; | |
} | |
.example2 { | |
color: green; | |
} | |
.example2:hover { | |
color: blue; | |
} |
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
<a href="#" class="example1">Hover over Me</a> | |
<a href="#" class="example2">Hover over Me</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment