Skip to content

Instantly share code, notes, and snippets.

@JonathanBeech
Created August 7, 2012 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonathanBeech/3288837 to your computer and use it in GitHub Desktop.
Save JonathanBeech/3288837 to your computer and use it in GitHub Desktop.
CSS: Image Replacement
.ir {
border:0;
font: 0/0 a;
text-shadow: none;
color: transparent;
background-color: transparent;
}
@JonathanBeech
Copy link
Author

This is an image replacement method that does away with the outdated negative margin on the header element trick

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