摘要: 1、getComputedStyle(ele,null).fontSize //ele所需获取样式的元素节点 第二个参数填null就好。后面属性是你需要的样式属性。ie不支持。 2、ie:oBox.currentStyle.fontSize //ie内使用currentStyle 3、兼容: fun 阅读全文
posted @ 2018-09-12 14:41 霜~ 阅读(360) 评论(0) 推荐(0) 编辑