CSS layout debugger

Css

Here is one-line version of CSS layout debugger to paste in your DevTools. Outlines every DOM element on your page a random (valid) CSS hex color.

$$('*').map((A,B)=>A.style.outline=`1px solid hsl(${B*B},99%,50%`)