Tutorial Standard CSS Image Replacement
h1#logo { width: 200px; // width of image height: 100px; // height of image background: url(../path/to/image.jpg); text-indent: ...
https://iskablogs.blogspot.com/2014/03/tutorial-standard-css-image-replacement.html
h1#logo {
width: 200px; // width of image
height: 100px; // height of image
background: url(../path/to/image.jpg);
text-indent: -9999px;
}
This technique is credited to Mike Rundle and referred to as the Phark Method. There are many more techniques for CSS Image Replacement.
width: 200px; // width of image
height: 100px; // height of image
background: url(../path/to/image.jpg);
text-indent: -9999px;
}
This technique is credited to Mike Rundle and referred to as the Phark Method. There are many more techniques for CSS Image Replacement.