显示页面所有元素边框随机各种颜色

 

[].forEach.call($$("*"),function(a){ a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16) })

posted @ 2015-09-02 14:48  洛冬  阅读(220)  评论(0编辑  收藏  举报