2018年10月29日

getBoundingClientRect

摘要: getBoundingClientRect() 用于获取元素相对于浏览器饰扣的位置,这个API早已经是W3C标准兼容性不用担心,不过在IE下有些许的区别 兼容性参见 https://caniuse.com/#search=getBoundingClientRect MDN: https://deve 阅读全文

posted @ 2018-10-29 14:16 sjpqy 阅读(263) 评论(0) 推荐(0) 编辑

导航