<div class="col-xs-6 col-md-4 home-content" *ngFor="let s of abc">
<mat-card>
<mat-card-header>
<mat-card-title>{{s.header}}</mat-card-title>
</mat-card-header>
<mat-card-content>
<p> {{s.Desc}} </p>
</mat-card-content>
<mat-card-actions>
<button mat-raised-button type="submit" color="primary">Submit</button>
</mat-card-actions>
</mat-card>
</div>
<div class="col-xs-6 col-md-4 home-content" *ngFor="let s of abc">
<mat-card>
<mat-card-header>
<mat-card-title>{{s.header}}</mat-card-title>
</mat-card-header>
<mat-card-content>
<p> {{s.Desc}} </p>
</mat-card-content>
<mat-card-actions>
<button mat-raised-button type="submit" color="primary">Submit</button>
</mat-card-actions>
</mat-card>
</div>
Add in stylesheet:
.mat-card{
display:flex;
flex-direction: column;
}
.mat-card-header {
flex-shrink: 0;
}
.mat-card-content{
flex-grow: 1;
overflow: auto;
}