快速知道所有元素的边框

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

 

posted @ 2021-08-05 17:54  吴小明-  阅读(34)  评论(0编辑  收藏  举报