« Back To Tutorial

CSS3 Image Replacement Demo
h1 { 
width:500px;
height:100px;
overflow:hidden;
}
h1:before { 
content:url(image.jpg);
position:absolute;
}

<h1>Replaced Text</h1>