i would like to build a flexbox with direction column. My problem is, the items should jump to the next column when the first column (view) ist full with column. The Items will be added dynamic.
<div class="container">
<div class="item">
TEST
</div>
<div class="item">
TEST
</div>
<div class="item">
TEST
</div>
<div class="item">
TEST
</div>
<div class="item">
TEST
</div>
</div>
.container{
display: flex;
flex-direction: column;
}
.item{
display: table;
border: 1px solid blacK;
height: 200px;
width: 200px;
}
https://jsfiddle.net/snrz7td3/1/
something like this.