JS之获取样式的简单实现方法(推荐) 基本代码: Document This is div 1.通过使用element.style属性来获取 element.style属性只能获取行内样式,不能获取 ...