Skip to content

Instantly share code, notes, and snippets.

@HungYuHei
Created November 4, 2011 05:07
Show Gist options
  • Select an option

  • Save HungYuHei/1338702 to your computer and use it in GitHub Desktop.

Select an option

Save HungYuHei/1338702 to your computer and use it in GitHub Desktop.
image instead of text, replace image
.replace {
display:block;
height:0;
overflow:hidden;
font-size:0;
letter-spacing:-1em;
text-indent:-1000em;
}
.heading {
width:135px;
padding:26px 0 0 0;
background:url('/images/custom_header.png') no-repeat 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment