Background-size: cover not setting height of background image
<p>I'm trying to get a background image to fill a div completely. Using </p>

<pre><code>.class{
   background-image: url('img.jpg');
   background-repeat: no-repeat;
   background-size: cover;
 }
</code></pre>

<p>and (<code>.row</code> is from Foundation 6)</p>

<pre><code>&lt;div class="row columns"&gt;
  &lt;div class="class"&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>The image extends across the width of the container, however the height is only about 23px, presumably the line height of the <code>&amp;nbsp;</code>. How can I get his image's height to be the full height of the image with at the width set by <code>cover</code>?</p>