Skip to content

Instantly share code, notes, and snippets.

@netsuite
Created May 31, 2014 22:21
Show Gist options
  • Save netsuite/86a1001db7e1fa4b80ab to your computer and use it in GitHub Desktop.
Save netsuite/86a1001db7e1fa4b80ab to your computer and use it in GitHub Desktop.
css: layout depth colors, different depth of nodes will use different colour allowing you to see the size of each element on the page, their margin and their padding
* { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment