摘要: 0.大意: client——客户端可见范围 scroll——可滚动范围 offset ——偏差。 1.getBoundingClientRect: DOMRect top: 元素顶边距离视口顶边的距离。 left: 元素左边距离视口左边的距离。 right: 元素右边距离视口右边的距离。 left: 阅读全文
posted @ 2017-12-26 16:52 Esther_Cheung 阅读(174) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示