The Element.getBoundingClientRect() method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.| MDN Web Docs
Online cross browser testing tool for testing website & web app across 3000+ Browsers, real devices, and OS. Get instant access of desktop and mobile browsers like Chrome, Safari, Firefox, Opera, Edge, Brave, Yandex. Try for free!| www.lambdatest.com
1. Introduction| w3c.github.io