标签:style color io os ar sp on c cti
<script>
var fade=function(node){
var level=1;
var step=function(){
var hex=level.toString(16);
node.style.backgroundColor=‘#‘+hex+hex+hex+hex+hex+hex;
if(level<15){
level+=1;
setTimeout(step,100);
}
};
step();//setTimeout(step,100);
};
fade(document.body);
</script>
标签:style color io os ar sp on c cti
原文地址:http://www.cnblogs.com/dingyuanxin/p/3999510.html