摘要: js中style,currentStyle和getComputedStyle的区别 MarysMa 在js中用xx.style.marginTop是无法获取写在css或<sytle>标签中的margin-top之类的样式值(包括width,height等)。 这就是style属性的限制: style 阅读全文
posted @ 2017-08-03 16:16 Marys 阅读(315) 评论(0) 推荐(0)