![Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect() Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect()](https://bennadel-cdn.com/resources/uploads/2018/translating-viewport-coordinates-to-element-local-position.png)
Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect()
elem.getBoundingClientRect() methods working procedure on an element.... | Download Scientific Diagram
![javascript - Does getBoundingClientRect().width and height includes paddings and borders of element? - Stack Overflow javascript - Does getBoundingClientRect().width and height includes paddings and borders of element? - Stack Overflow](https://i.stack.imgur.com/Z7aV5.png)
javascript - Does getBoundingClientRect().width and height includes paddings and borders of element? - Stack Overflow
![How to use getBoundingClientRect() Javascript Method scroll effect (Tutorial with Practice) - DEV Community How to use getBoundingClientRect() Javascript Method scroll effect (Tutorial with Practice) - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--VZOqdND9--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://dev-to-uploads.s3.amazonaws.com/i/d3ytxdw1vaiaz0vn8alc.png)