Created
May 29, 2019 14:30
-
-
Save mattfwood/6162eae561d56c0f75080c05ff8dded4 to your computer and use it in GitHub Desktop.
Give all elements on the page a red border to identify things that are breaking the layout
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
| document.querySelectorAll('*').forEach(el => el.style.border = '1px solid red') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment