I have a div tag contain an image child which is transformed using "perspective(1000px) rotateX(45deg)". Is there a way to get the top, left position of the image child after transformation done by the browser?
<div id="parent">
<div id="child" style="transform: perspective(1000px) rotateX(45deg)">
<img src="<path>" style="position:absolute; top:10px;left:10px"/>
</div>
</div>
Is it possible to use getComputedStyle()["transform"] matrix3D values to transform (10,10), if so how?
Thanks in advance
--Hari