var randomColor = '#' + Math.floor(Math.random()*16777215).toString(16);
if((''+randomColor).length<7) randomColor=randomColor+'0';
var randomColor = '#' + Math.floor(Math.random()*16777215).toString(16);
if((''+randomColor).length<7) randomColor=randomColor+'0';
本文标题:css颜色随机
本文链接:https://www.haomeiwen.com/subject/lfaurdtx.html
网友评论