Last active
December 18, 2015 08:13
-
-
Save vdclouis/aad3413ade3e93806ec5 to your computer and use it in GitHub Desktop.
CSS debugger
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
// 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