查找由于页面宽度溢出导致网页出现莫名空白的查看方法
Chrome 浏览器控制台执行:
[].forEach.call($$("*"),function(a){
a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)
})
给页面所有元素添加随机颜色边框
Chrome 浏览器控制台执行:
[].forEach.call($$("*"),function(a){
a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)
})