I have simple code example on codepen but here is the markup for convinience:
<div class="container my-container">
<div class="row m-row justify-content-between">
<div class="col-2 my-col">One of three columns</div>
<div class="col-5 my-col">One of three columns</div>
<div class="col-5 my-col">One of three columns</div>
</div>
</div>
And some custom css:
.my-row {
justify-content: stretch;
}
.my-col {
background: yellowgreen;
border: 1px gray solid;
align-self: stretch;
}
With larger screen width I get this which is fine:
But when I set small sizes, eg. instead of resizing browser window you can my-container
width to 150px just to demonstrate what happens
.my-container {
width: 150px;
}
Then items wrap and I get following result:
How can I make wrapped items to fill the rest of the width?