摘要: 1 function getStyle(obj,attr){ 2 if(obj.currentStyle){ 3 return obj.currentStyle[attr] 4 }else{ 5 return getComputedStyle(obj)[attr] 6 ... 阅读全文
posted @ 2017-05-22 11:50 超级玛丽和大力水手 阅读(177) 评论(0) 推荐(0)