title: Center images within grid
body: <p>I'm creating a grid to display images of a team. I have a grid of images and I need to position my bottom 2 images below the top 2 middle images - basically centralizing the bottom 2. How can I achieve this? I've added my HTML and CSS below. Any help will be appreciated. Thanks.</p>
  
  <p><a href="https://i.stack.imgur.com/0Thix.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Thix.png" alt="enter image description here"></a></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>.team-grids .team-img {
    overflow: hidden;
    position: relative;
    display: block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"&gt;
  &lt;div class="team"&gt;
    &lt;div class="container"&gt;
      &lt;div class="w3l-heading"&gt;
        &lt;h3&gt;Our Team&lt;/h3&gt;
      &lt;/div&gt;
      &lt;div class="team-row"&gt;
        &lt;div class="col-md-3 team-grids"&gt;
          &lt;div class="team-img"&gt;
            &lt;img class="img-responsive" src="https://via.placeholder.com/200x200" alt=""&gt;
            &lt;div class="captn"&gt;
              &lt;div class="captn-top"&gt;
                &lt;h4&gt;Edwards Doe&lt;/h4&gt;
                &lt;p&gt;description&lt;/p&gt;
              &lt;/div&gt;
  
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="col-md-3 team-grids"&gt;
          &lt;div class="team-img"&gt;
            &lt;img class="img-responsive" src="https://via.placeholder.com/200x200" alt=""&gt;
            &lt;div class="captn"&gt;
              &lt;div class="captn-top"&gt;
                &lt;h4&gt;Mark Sophia&lt;/h4&gt;
                &lt;p&gt;description&lt;/p&gt;
              &lt;/div&gt;
  
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>