getBoundingClientRect 跨浏览器实现

阅读更多

    


    
You can get the bounding rectangle of this element relative to the top left corner of the client area with the button below.
Use the scrollbars to test the placement of the bounding rectangle in different positions.

你可能感兴趣的:(getBoundingClientRect 跨浏览器实现)