Skip to content

Instantly share code, notes, and snippets.

@vdclouis
Last active December 18, 2015 08:13
Show Gist options
  • Save vdclouis/aad3413ade3e93806ec5 to your computer and use it in GitHub Desktop.
Save vdclouis/aad3413ade3e93806ec5 to your computer and use it in GitHub Desktop.
CSS debugger
// Idea is from @addyosmani - https://gist.github.com/addyosmani/fd3999ea7fce242756b1
const css = e =>
[...$$(e)].forEach(a => a.style.outline='1px solid #'+(~~(Math.random()*(1<<24))).toString(16));
css('*');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment