JSFiddle - React, Tailwind, and code Playground
HTML
<div class="parentDivStyle" id="parent">
<div class="childDivStyle">1</div>
<div class="childDivStyle">2</div>
<div class="childDivStyle">3</div>
<div class="childDivStyle">4</div>
<div class="childDivStyle">5</div>
</div>
CSS
.parentDivStyle{
overflow:hidden;
width:300px;
height:50px;
position:absolute;
background:#ccc;
float:left;
}
.childDivStyle{
width:100px;
height:50px;
position:relative;
float:left;
background:red;
border: 1px solid black;
}
JavaScript
$('#parent .childDivStyle').each(function(index,div){
if($(div).position().top > $('#parent').height()) alert($(div).html())
});