Skip to content

Instantly share code, notes, and snippets.

@windgazer
Created April 29, 2015 12:52
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 windgazer/5451eb688e7b576d2aa7 to your computer and use it in GitHub Desktop.
Save windgazer/5451eb688e7b576d2aa7 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
%highlightMenu {
text-shadow: 0.2em 0.2em rgba( 0,0,0 ,0.35 );
}
@each $id in (gameUI,licenseUI,spoilsport) {
##{$id}:target ~ menu [href$="#{$id}"] {
@extend %highlightMenu;
}
}
#gameUI:target ~ menu [href$="gameUI"], #licenseUI:target ~ menu [href$="licenseUI"], #spoilsport:target ~ menu [href$="spoilsport"] {
text-shadow: 0.2em 0.2em rgba(0, 0, 0, 0.35);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment