title: <a> tag gets height - why is that?
body: <p>Why is that <code>&lt;a&gt;</code> tag gets height in below example <a href="https://jsfiddle.net/sz3008up/5/" rel="nofollow noreferrer">jsfiddle</a></p>
  
  <p>I guess that's why my margins on feature class don't work as expected.</p>
  
  <p>Sample of code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.feature {
    margin: 0;
    position: relative;
    margin: 10px 0;
  }
  
  .feature__caption {
    position: absolute;
    bottom: 5px;
    color: #c158ad;
    text-align: center;
    width: 100%;
    font-size: 1.5em;
    padding: 2% 0;
    right: 0;
    left: 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="col span_4_of_12"&gt;
    &lt;figure class="feature"&gt;
      &lt;a href="#"&gt;
        &lt;img src="http://via.placeholder.com/350x150" alt="shoes"&gt;
        &lt;figcaption class="feature__caption"&gt;ACCESSORIES&lt;/figcaption&gt;
      &lt;/a&gt;
    &lt;/figure&gt;
    &lt;figure class="feature"&gt;
      &lt;a href="#"&gt;
        &lt;img src="http://via.placeholder.com/350x150" alt="shoes"&gt;
        &lt;figcaption class="feature__caption"&gt;LATEST FASHION&lt;/figcaption&gt;
      &lt;/a&gt;
    &lt;/figure&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>