HTML中滚动字幕如何改变字体颜色?

样式=“颜色:rgb颜色”

html制作,javascript,文字如何不停变换颜色,大小,字体?

<!DOCTYPEhtml><html><head><title>编辑</title></head><body>停止!</button>我们让您享受它!</body>[xss_clean]h1=document.getElementById('text');h1.style.color="RGB("+Math.floor(Math.random()*256)+","+Math.floor(Math.random()*256)+","+Math.flo或(Math.random()*256)+")"h1.style.fontSize=(Math.floor(Math.random()*1000)+100)+"%";1000个函数start(){clearIinterval(interior)};[xss_clean]

播放一下,看对了。
在Firefox29.0.1和IE9.0.26下通过测试。