控制台技巧
UI界面技巧
1.添加outline
body * { outline: 1px solid red }
2.添加背景
const style = document.createElement('style')document.getElementsByTagName('head')[0].append(style)style.innerHTML = `* { background-color: rgba(255, 0, 0, .2); }* * { background-color: rgba(0, 255, 0, .2); }* * * { background-color: rgba(0, 0, 255, .2); }* * * * { background-color: rgba(255, 0, 255, .2); }* * * * * { background-color: rgba(0, 255, 255, .2); }* * * * * * { background-color: rgba(255, 255, 0, .2); }`
