js动态渲染链接outline为随机颜色
[].forEach.call($("*"),function(a){ a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16) })
原文链接 http://bbs.html5cn.org/thread-86394-1-1.html
[].forEach.call($("*"),function(a){ a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16) })
原文链接 http://bbs.html5cn.org/thread-86394-1-1.html