I am currently using Bootstrap 5 and I'm trying to create a row with 6 columns. I have added gutter in the row but for some reason, the spacing between the columns is not being applied. Can anyone help me figure out what I'm doing wrong here? Below is my code snippet:
.box{
height: 100px;
background-color: blue;
box-sizing: border-box;
}
.myrow{
background-color: red;
}
<div class="container">
<div class="row myrow gx-5">
<div class="box col-lg-2">1</div>
<div class="box col-lg-2">2</div>
<div class="box col-lg-2">3</div>
<div class="box col-lg-2">4</div>
<div class="box col-lg-2">5</div>
<div class="box col-lg-2">6</div>
</div>
</div>