getComputedStyle的简单用法

var number=window.getComputedStyle("元素").style样式名

原文地址:https://www.cnblogs.com/huangqiming/p/5973760.html