Skip to content

Instantly share code, notes, and snippets.

@bensmithett
Created November 24, 2011 22:25
Show Gist options
  • Save bensmithett/1392431 to your computer and use it in GitHub Desktop.
Save bensmithett/1392431 to your computer and use it in GitHub Desktop.
sass vs css
.header {
a {
// styles
&:hover,
&:focus {
// styles
}
}
}
vs
.header a {
//styles
}
.header a:hover,
.header a:focus {
//styles
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment