Skip to content

Instantly share code, notes, and snippets.

@ilpaijin
Created September 28, 2012 09:52
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 ilpaijin/3798936 to your computer and use it in GitHub Desktop.
Save ilpaijin/3798936 to your computer and use it in GitHub Desktop.
new CSS image replacement
.ir1 {
font: 0/0 a;
text-shadow: none;
color: transparent;
}
.ir2 {
background-image: url(hello-world.png);
text-indent: 100%;
overflow: hidden;
white-space: nowrap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment