title: Header height to fit background image
body: <p>I have a question related to header height.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;header&gt;
          &lt;h1&gt;
              Hello World!
          &lt;/h1&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>header {
      background-image: url("../images/header.png");
      background-size: cover;
      height: 100%;
      text-align: center;
      color: white;
  }
  </code></pre>
  
  <p>In this case header height fits text height. Is there a way to set header height the same as image height?</p>