Created
October 17, 2014 09:33
-
-
Save icodesido/04d7a410ed63e43793ef to your computer and use it in GitHub Desktop.
Put a randomly coloured outline around every html element.
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
| [].forEach.call($$("*"),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