摘要: 我们利用元素获取矩形对象来实现 dom.getBoundingClientReact(); left 元素左边距离页面左边的距离 right 元素右边距离页面左边的距离 top 元素顶边距离页面顶端的距离 bottom 元素下边距离页面顶端的距离 <!DOCTYPE html> <html lang 阅读全文
posted @ 2020-09-27 16:19 WhiteSpace 阅读(300) 评论(0) 推荐(0)