-
-
Save rezwan-hossain/dcf323cc2690a4f0355db50f0b1f8fb0 to your computer and use it in GitHub Desktop.
Bookmarklet to show borders for divs
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:if(!window.__debug_div_borders_inited) { var sheet = document.styleSheets[0]; sheet.insertRule('body.__debug_div_borders div { outline: 1px solid green; }', ((sheet.cssRules && sheet.cssRules.length) || 0)); window.__debug_div_borders_inited = true; } document.body.classList.toggle('__debug_div_borders');void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment