JSFiddle - React, Tailwind, and code Playground
HTML
<div class="features a"></div>
<div class="features b"></div>
<div class="features c"></div>
CSS
.a { height: 30px; background-color: red; }
.b { height: 120px; background-color: aqua; }
.c { height: 150px; background-color: blue; }
JavaScript
$(document).ready(function() {
var maxHeight = -1;
$('.features').each(function() {
maxHeight = maxHeight > $(this).height();
});
$('.features').each(function() {
$(this).height(maxHeight);
});
alert(this.maxheight);
});