Getting the touched position in local coordinates of a transformed element
问题 I have an element which has been transformed with a matrix3d to give it perspective. It represents the screen of a handheld device. There's a background image showing the handheld device itself, and this is not transformed. The element which holds this is positioned, and the screen element is positioned absolutely within it, at left: 0; top: 0; , and then transformed, with an origin in the top-left of the container. This was the easiest way for me to line it up perfectly with the background