https://stackblitz.com/edit/angular-vdhbfv?file=src/app/app.component.html
<div class="row">
<div class="item" *ngFor="let item of items">
<h1>{{item.title}}</h1>
<h3>{{item.subtitle}}</h3>
<p>{{item.desc}}</p>
</div>
</div>
.item {
margin: 10px;
padding: 15px;
background-color: navy;
max-width: 120px;
overflow: hidden;
word-wrap: break-word;
height: 100%;
}
.row {
display: flex;
/* justify-content: flex-start; */
/* align-items: baseline; */
flex-flow:wrap;
flex-wrap: wrap;
max-width: 400px;
background-color: rgb(186, 201, 186);
}
I want to align all so that there is no space, I want them to align evenly so that the tops and bottoms arent too far apart