Last active
May 6, 2020 17:30
-
-
Save swarad07/139b3499ead681b11f6305754ed0ac69 to your computer and use it in GitHub Desktop.
Layout highlighter
This file contains 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
/** | |
* Open browser console and add paste the below line. | |
* Outline will be added to all the elements. | |
* | |
* Credit for original idea: https://github.com/saki007ster | |
*/ | |
$$('*').map(A=>A.style.outline=`1px solid hsl(${(A+A).length*9},99%,50%`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment