CodePen

HTML

            
              <h1 class="technique-eight">
    <span></span>CSS-Tricks
</h1>
            
          
!
via HTML Inspector

CSS

            
              h1.technique-eight {
    width: 350px; height: 65px;
    position: relative;
}

h1.technique-eight span {
    background: url("/images/logo.png");
    position: absolute;
    width: 100%;
    height: 100%;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................