title: How do I remove this white space while using CSS grid layout?
body: <p>I am just learning how to use CSS grid layout from a crash course. While tinkering around with the grid-template-columns property, a white space has appeared under one of my cat images that I cannot get rid of. </p>
  
  <p><a href="https://i.stack.imgur.com/n853C.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n853C.jpg" alt="The space "></a> </p>
  
  <p>This is my HTML:</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>* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: 200px 200px 1fr;
  }
  
  .gallery img {
    width: 100%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
  
    &lt;main&gt;
      &lt;div class="gallery"&gt;
        &lt;img src="https://placeimg.com/640/480/animals" alt='' /&gt;
        &lt;img src="https://placeimg.com/640/480/arch" alt='' /&gt;
        &lt;img src="https://placeimg.com/640/480/nature" alt='' /&gt;
        &lt;img src="https://placeimg.com/640/480/people" alt='' /&gt;
        &lt;img src="https://placeimg.com/640/480/tech" alt='' /&gt;
      &lt;/div&gt;
  &lt;/main&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Can someone help me resolve this?</p>