Last active
August 29, 2015 14:07
-
-
Save ValorLin/82d412d047ccf27d378e to your computer and use it in GitHub Desktop.
Run this script in the console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function showElementEdges(el) { | |
[].forEach.call(el.querySelectorAll("*"), function(a) { | |
a.style.outline = "1px solid #" + (~~(Math.random() * (1 << 24))).toString(16) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment