Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Leahy-Langridge image replacement with a fixed-size link
<a href="http://yahoo.com">Text link</a>
a {
background: url("http://joidesresolution.org/sites/default/files/image/kidsPage_blogHere.png") no-repeat transparent;
display: block;
height: 0;
overflow:hidden;
padding: 88px 0 0 0;
width: 116px;
}
/* pen readability settings */
body {
background: #006;
}
a {
margin: 10%;
}
/* /readability */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment