ruk·si

🎨 CSS
Image Text Replacement

Updated at 2012-12-20 11:20

Show text if styles cannot be loaded or before styles are loaded.

.header .logo {
    background-image: url('html5.svg');
    width: 200px;
    height: 200px;
    text-indent: -9999px;
}
<div class="header">
    <h1 class="logo">HTML5</h1>
</div>