首页 > 代码库 > 字体闪烁

字体闪烁

字体闪烁
 function changeColor() {
            var color = "#336699|red"; color = color.split("|");
            document.getElementById("blink").style.color = color[parseInt(Math.random() * color.length)];
        }
        setInterval("changeColor()", 100);