Skip to content

Instantly share code, notes, and snippets.

@brianbroken
Created April 27, 2013 00:04
Show Gist options
  • Save brianbroken/5471249 to your computer and use it in GitHub Desktop.
Save brianbroken/5471249 to your computer and use it in GitHub Desktop.
CSS: Basic Link rollover as CSS sprite
a {
display: block;
background: url(sprite.png) no-repeat;
height: 30px;
width: 250px;
}
a:hover {
background-position: 0 -30px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment