Skip to content

Instantly share code, notes, and snippets.

@ElmahdiMahmoud
Created March 20, 2014 08:44
Show Gist options
  • Save ElmahdiMahmoud/9659658 to your computer and use it in GitHub Desktop.
Save ElmahdiMahmoud/9659658 to your computer and use it in GitHub Desktop.
Sass: cross all heading
// ----
// Sass (v3.3.3)
// Compass (v1.0.0.alpha.18)
// ----
#{headings()} {
a,
a:hover {
color: inherit;
}
}
h1 a,
h1 a:hover, h2 a,
h2 a:hover, h3 a,
h3 a:hover, h4 a,
h4 a:hover, h5 a,
h5 a:hover, h6 a,
h6 a:hover {
color: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment