Skip to content

Instantly share code, notes, and snippets.

@sivan
Created September 17, 2012 12:19
Show Gist options
  • Save sivan/3736985 to your computer and use it in GitHub Desktop.
Save sivan/3736985 to your computer and use it in GitHub Desktop.
image replacement
.ir {
overflow: hidden;
*text-indent: -999em;
}
.ir:before {
content: "";
display: block;
width: 0;
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment