Image Replacement Technique in CSS


Hide text for accessibility purposes and replace it with an image.

Source Code

.text-replace {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: url('logo.png') no-repeat;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments