Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4010d0a

Browse files
Create css-layout.js
1 parent c7e0530 commit 4010d0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎css-layout.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// tiny CSS layout "debugger"
2+
// from https://gist.github.com/addyosmani/fd3999ea7fce242756b1
3+
// puts random color border around each element
4+
[].forEach.call($$("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)})

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /