摘要: HTML getBoundingClientRect方法的返回值是一个包含width height top right bottom left的对象: var rect = document.querySelector('.div1').getBoundingClientRect() HTML精确定 阅读全文
posted @ 2017-03-02 13:44 西河 阅读(3) 评论(0) 推荐(0) 编辑