JSFiddle - React, Tailwind, and code Playground
by serio
HTML
<div id='steps'>
<div class='step'>This is a test</div>
<div class='step'>this is also a coool test</div>
<div class='step'>weeee!</div>
</div>
CSS
#steps .step
{
display: block;
float: left;
background: #333;
color: #FFF;
width: 50px;
margin-right: 2px;
padding: 4px;
}
JavaScript
var step_height = 0;
$('#steps .step').each(function(i) {
var $this = $(this);
if ($this.height() > step_height) step_height = $this.height();
}).height(step_height);