How to get exact position of element that is styled with object-fit:contain

前端 未结 0 1600
长发绾君心
长发绾君心 2021-01-25 19:17

When I get the position of image element below I get the start of the element not start of the picture. How can I get the start position (top, left) of the image where I marked

相关标签:
回答
  • 消灭零回复
提交回复
热议问题