Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Radu Darvas shim image replacement method with a fixed-size link
<div class="wrapper">
<a href="">
<img src="" alt="Click here"/>
<span>Text link</span>
a {
background: url("") no-repeat transparent;
display: block;
height: 88px;
width: 116px;
a span {
display: none;
/* pen readability settings */
body {
background: #006;
.wrapper {
margin: 10%;
/* /readability */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment