Handy CSS Debug Snippet

/ Published in: CSS Save to your folder(s)

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.

Expand | Embed | Plain Text



Copy this code and paste it in your HTML * { 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 }

URL: http://homepage.mac.com/chrispage/iblog/C42511381/E20060806095030/index.html

Report this snippet Tweet



Comments