I have two rows with three columns each. I am trying to create some spacing between the two rows.
I attempted to achieve this by wrapping the rows and adding padding to the last child (which should be the second row). However, this approach did not work as expected.
Here is the HTML / CSS:
.row {
max-width: 1140px;
margin: 0 auto;
}
.box {
padding: 1%;
}
.services-container {
margin-top: 60px;
}
<div class="services-container">
<div class="row">
<div class="col span-1-of-3 box">
<h5>Lorem</h5>
<p>
Ipsum
</p>
</div>
<div class="col span-1-of-3 box">
<h5>Lorem</h5>
<p>
Ipsum
</p>
</div>
<div class="col span-1-of-3 box">
<h5>Lorem</h5>
<p>
Ipsum
</p>
</div>
</div>
<div class="row">
<div class="col span-1-of-3 box">
<h5>Lorem</h5>
<p>
Ipsum
</p>
</div>
<div class="col span-1-of-3 box">
<h5>Lorem</h5>
<p>
Ipsum
</p>
</div>
<div class="col span-1-of-3 box">
<h5>Lorem</h5>
<p>
Ipsum
</p>
</div>
</div>
</div>