Published in: CSS
URL: http://homepage.mac.com/chrispage/iblog/C42511381/E20060806095030/index.html
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 }
Comments
Subscribe to comments
You need to login to post a comment.

That's so clever - never would have thought of that. I love it.
1man, thank you.
Very nice! I threw some "important"s onto mine to make sure they show up.
5* thnks
this is very useful... thanks for the tip!