时间:2019-10-20加入收藏
<!-- js实现变色文字 --><div id="blink">
<strong>
<div align="left" style="text-align:center;">
变色文字效果 </div>
</strong><strong>
<script language="javascript"> function changeColor(){ var color="#f00|#0f0|#00f|#880|#808|#088|yellow|green|blue|gray"; color=color.split("|"); document.getElementById("blink").style.color=color[parseInt(Math.random() * color.length)]; } setInterval("changeColor()",200); </script>
</strong></div>
TGA: