Skip to content

Instantly share code, notes, and snippets.

@intelliweb
Created September 25, 2013 16:28
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 intelliweb/6702225 to your computer and use it in GitHub Desktop.
Save intelliweb/6702225 to your computer and use it in GitHub Desktop.
CSS: Scott Kellum image replacement technique (src: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ )
#replace {
background: url("myimage") 0 0 no-repeat;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment