'use strict'; // 获取CSS function getStyle(obj, attr) { return (obj.currentStyle || getComputedStyle(obj, false))[attr]; } // 设置CSS function setStyle(obj, attr, val) { switch (typeof attr) ... Read More
posted @ 2016-06-30 11:47 koala_熊 Views(1327) Comments(0) Diggs(0) Edit