Skip to content

Instantly share code, notes, and snippets.

@michaelcarwile
Created October 21, 2013 19:21
Show Gist options
  • Save michaelcarwile/7089379 to your computer and use it in GitHub Desktop.
Save michaelcarwile/7089379 to your computer and use it in GitHub Desktop.
CSS image text replacement
/* Originally found: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ */
.hide-text {
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