How can I get specific child element by position (X, Y)
For example :
<div class="container">
<div class="child" style="left: 250px;"></div>
<div class="child1" style="left: 420px;"></div>
<div class="child2" style="left: 500px;"></div>
</div>
Here how to get for example child2 by X
This code does not work
$('.container').elementFromPoint(500, 0);
I want to get element inside container