Skip to content

Instantly share code, notes, and snippets.

@ijones922
Created July 8, 2013 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijones922/5952781 to your computer and use it in GitHub Desktop.
Save ijones922/5952781 to your computer and use it in GitHub Desktop.
CSS: Debugging
/**
* Great little debuging snippet found while browsing
* The code adds different coloured borders to the assets depending on its level.
* Leave commented out if not needed.
*/
* { outline: 2px dotted red }
* * { outline: 2px dotted green }
* * * { outline: 2px dotted orange }
* * * * { outline: 2px dotted blue }
* * * * * { outline: 1px solid red }
* * * * * * { outline: 1px solid green }
* * * * * * * { outline: 1px solid orange }
* * * * * * * * { outline: 1px solid blue }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment