Skip to content

Instantly share code, notes, and snippets.

@heldr
Created September 30, 2014 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heldr/bfa814b7350559823112 to your computer and use it in GitHub Desktop.
Save heldr/bfa814b7350559823112 to your computer and use it in GitHub Desktop.
Togglable CSS Debug bookmarklet
//based on https://gist.github.com/addyosmani/fd3999ea7fce242756b1
javascript:!function(a){for(a.__CSSDebug__=!a.__CSSDebug__,i=0;A=document.all[i++];)A.style.outline=a.__CSSDebug__?"solid hsl("+9*(A+A).length+",99%,50%)1px":null}(window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment