摘要: 今天说一下js获取元素位置和style的方法。当然不只是element.style那么简单。。 主角:getBoundingClientRect,getClientRects,getComputedStyle,currentStyle 配角:getPropertyValue,getAttribute 阅读全文
posted @ 2016-03-12 20:25 chenby 阅读(5510) 评论(0) 推荐(1) 编辑