JSFiddle - React, Tailwind, and code Playground

HTML

<section>
  <div class="container">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div class="last"></div>
  </div>
</section>

CSS

section{
  width: 100%;
  max-width: 1920px;
  padding:  30px 0;
  text-align: center;
}
.container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 636px;
  height:  auto;
  margin:  0 auto;
  padding:  10px;
}
div{
  display: inline-block;
  width: 200px;
  height: 100px;
  border: 1px solid lightgray;
  margin-bottom: 10px;
  margin-right: 10px;
}
div.last{
  margin-right: auto;
}