Skip to content

Instantly share code, notes, and snippets.

@jensgro
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jensgro/9137761 to your computer and use it in GitHub Desktop.
Save jensgro/9137761 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.2.19)
// Compass (v0.12.7)
// ----
@mixin link-colors($text:#000, $hover:#a20000) {
color: $text;
text-decoration: underline;
&:hover, &:focus {
color: $hover;
text-decoration: none;
}
}
a {
@include link-colors($hover: #03f);
}
a {
color: black;
text-decoration: underline;
}
a:hover, a:focus {
color: #0033ff;
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment