Skip to content

Instantly share code, notes, and snippets.

@jaykz52
Created December 15, 2010 03:55
Show Gist options
  • Save jaykz52/741608 to your computer and use it in GitHub Desktop.
Save jaykz52/741608 to your computer and use it in GitHub Desktop.
An example of nesting/parent references in Sass
a {
color: green;
&:hover {
text-decoration: underline;
}
&:active {
color: purple;
}
&:visited {
color: yellow;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment