快速知道所有元素的边框

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

原文地址:https://www.cnblogs.com/wuqilang/p/15104536.html