The snippet of code below is a common practice to <h1>title</h1> from a -based title to an :

h1 {

text-indent:-9999px;

background:url("title.jpg") no-repeat;

width:100px;

height:50px;

}

Explanation: text-indent:-9999px; throws your text title off screen, replaced by an image declared by background: {…} with a fixed width and height.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here