JSFiddle - React, Tailwind, and code Playground

HTML

<div class="box" style="background: red;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi imperdiet, nisl eu molestie volutpat, sem nunc dapibus neque, pharetra sagittis purus turpis et lacus. Sed non orci vehicula nisi viverra pulvinar.</div>
<div class="box" style="background: blue;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi imperdiet, nisl eu molestie volutpat, sem nunc dapibus neque, pharetra sagittis purus turpis et lacus. Sed non orci vehicula nisi viverra pulvinar. Donec augue felis, malesuada in est in, ornare suscipit purus. Cras quam erat, rutrum eget massa eget, varius ultrices quam. Nullam sem dolor, euismod non tristique eget, molestie sed nunc. Ut vel ornare lectus, non pulvinar massa.
</div>
<div class="box" style="background: green;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi imperdiet, nisl eu molestie volutpat, sem nunc dapibus neque, pharetra sagittis purus turpis et lacus.</div>

CSS

.box {
    display: inline-block;
    padding: 15px 1%;
    width: 28%;
    margin: 0 1%;
    vertical-align: top;
}

JavaScript

(function($){
	function fixButtonHeights() {
		var heights = new Array();
        
		// Loop to get all element heights
		$('.box').each(function() {	
			// Need to let sizes be whatever they want so no overflow on resize
			$(this).css('min-height', '0');
			$(this).css('max-height', 'none');
			$(this).css('height', 'auto');

			// Then add size (no units) to array
	 		heights.push($(this).height());
		});

		// Find max height of all elements
		var max = Math.max.apply( Math, heights );

		// Set all heights to max height
		$('.box').each(function() {
			$(this).css('height', max + 'px');
            // Note: IF box-sizing is border-box, would need to manually add border and padding to height (or tallest element will overflow by amount of vertical border + vertical padding)
		});	
	}

	$(window).load(function() {
		// Fix heights on page load
		fixButtonHeights();

		// Fix heights on window resize
		$(window).resize(function() {
			// Needs to be a timeout function so it doesn't fire every ms of resize
			setTimeout(function() {
	      		fixButtonHeights();
			}, 120);
		});
	});
})(jQuery);