Having some trouble with flexbox. The gap property is making the columns too wide when trying to create a simple 3 column row.
I was under the impression that the gap value should not affect the width set. For example, using flex: 0 1 33.33% and gap 2rem should adjust the width automatically, right?
If anyone has any solutions for this issue, I would greatly appreciate it!
Here is an example - https://codepen.io/CodePlanB1234/pen/WNMypqR
<div class="row projects--wrapper">
<div class="card-project--card col-4-12">
<div class="card-project--image"><img src="/images/bgpic1.jpg" alt="text"></div>
</div>
<div class="card-project--card col-4-12">
<div class="card-project--image"><img src="/images/bgpic1.jpg" alt="text"></div>
</div>
<!-- additional cards go here -->
</div>