Created
June 29, 2022 15:14
-
-
Save oliveratgithub/d1f2f02077c7e3a44eab009ff45c5fc2 to your computer and use it in GitHub Desktop.
🪟 HTML element size overflow debugging: browser bookmarklet to add colorful borders around all DOM elements on a page using CSS.
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
javascript:document.querySelectorAll(%22*%22).forEach(function(a)%7Ba.style.outline%3D%221px%20solid%20%23%22%2B(~~(Math.random()*(1%3C%3C%2024))).toString(16)%7D) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment