获取元素具体样式信息
摘要:
window.getComputedStyle( 元素 ,null) // 但是IE6 -8不支持 获得一个对象 包含当前存在的所有样式 通过 window.getComputedStyle(元素,null).height 或者window.getComputedStyle(元素,null)["he 阅读全文
posted @ 2017-12-25 20:05 cm笔记簿 阅读(352) 评论(0) 推荐(0) 编辑
posted @ 2017-12-25 20:05 cm笔记簿 阅读(352) 评论(0) 推荐(0) 编辑