I'm trying to align two div's horizontally. The left div can have any number of items while the right will just have one. This is for Bootstrap 4 so I used the nested example for that version but it doesn't work for some reason. The example does say the nested col's should have a size but since that number can vary I can't do that. Here is my [jsfiddle]1. Here's my example code. Would someone please take a look and explain the problem?
** .box {border:1px solid black;}
<div class="row">
<div class="col-6">
<div class="col box">col 1</div>
<div class="col box">col 2</div>
<div class="col box">col 3</div>
<div class="col box">col 4</div>
</div>
<div class="col-6">
<div class="col box">col right</div>
</div>
</div>