Skip to content

Instantly share code, notes, and snippets.

@benjaminfisher
Created May 2, 2012 22:55
Show Gist options
  • Save benjaminfisher/2581178 to your computer and use it in GitHub Desktop.
Save benjaminfisher/2581178 to your computer and use it in GitHub Desktop.
CSS Image Replacement
header h1{
background-color: transparent;
background-repeat: no-repeat;
border: 0;
direction: ltr;
display: block;
overflow: hidden;
text-align: left;
text-indent: -999em;
*line-height: 0;
}
@benjaminfisher
Copy link
Author

Standard SEO friendly image replacement styles cribbed from HTML5 Boilerplate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment