Posted By

ariellephan on 06/08/11


Tagged


Versions (?)

Pure CSS hover


 / Published in: CSS
 

  1. .myButtonLink {
  2. display: block;
  3. width: 100px;
  4. height: 100px;
  5. background: url('/path/to/myImage.png') bottom;
  6. text-indent: -99999px;
  7. }
  8. .myButtonLink:hover {
  9. background-position: 0 0;
  10. }

Report this snippet  

You need to login to post a comment.