I have a div element that is looped through an array of objects using *ngFor. The height of a particular div is different from each other as each object contains different amounts of word count. I want to get the largest div element's height and set it as the div height so all div elements look the same. I am using Bootstrap 4.xx
<div class="col-md-4" *ngFor="let food of foods">
<div class="food-card">
<h4>{{food.title}}</h4>
<p>{{food.ingredients}}</p>
</div>
</div>
Ingredients contain a lot of words in it and the word count varies from each food item.