JSFiddle - React, Tailwind, and code Playground
by David Thomas
HTML
<div class="three" style="height: 445px;">
<p>Some arbitrary content.</p>
</div>
JavaScript
var elems = document.getElementsByClassName('three');
for (var i = 0, len = elems.length; i < len; i++){
if (parseInt(elems[i].style.height, 10) == 445) {
elems[i].style.backgroundColor = 'red';
}
}