getBoundingClientRect
Element インターフェイスのメソッド
https://developer.mozilla.org/ja/docs/Web/API/Element/getBoundingClientRect
https://gyazo.com/ed4b8e961d9b69907f679f1eb8a6f852
width,heightは少し実装されたのが遅い
x,yは
IE
で未サポート