<h1 class="replace-overflow">
  <span>SitePoint</span>
</h1>
body {
  font-family: 'Lato';
  margin: 30px 40px;
}

h2 {
  display: inline-block;
  background: pink;
  margin-top: 60px;
  margin-bottom: 0px;
  padding: 10px;
  border-radius: 10px;
}

.replace-overflow {
  width: 264px;
  height: 106px;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/SitePointLogo.png");
}
.replace-overflow span {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}

External CSS

  1. https://fonts.googleapis.com/css?family=Lato

External JavaScript

This Pen doesn't use any external JavaScript resources.