// Copy+paste the following line in the console. Credits to Addy Osmani.
[].forEach.call($$("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)})
Single line CSS layout debugger by Addy Osmani. Original link: https://gist.github.com/addyosmani/fd3999ea7fce242756b1
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.