1. Element.getBoundingClientRect()

    Method to get the size and position of an element's bounding box, relative to the viewport.

  2. element api: getboundingclientrect

  3. range api: getboundingclientrect