For the first time in a very, very long time, I find myself actually writing a somewhat “modern” web app. By which I mean that it has to use CSS and use it both well and effectively. I am essentially a back end developer wandering around a series of increasingly complex front end tasks. As with all web development one of the keys is looking at the source i.e. Use the source Luke. The problem with looking at the CSS source is that generally CSS content is minified which means that all line breaks, extra spacing and such are removed rendering it hard, hard, hard to understand.
The trick here is to reverse the minification. Here are a few tools:
The easiest one to use is the web based tool for Mr. Coles. Just paste your CSS into a text box on the web page and click a form button. Here’s a screenshot:
A virtual hat tip to Nick who found these for me. Thanks man!
One general note about reverse engineering CSS is that its actually pretty hard. I was looking for examples of good looking page footers and the one I found was, well, mind bending in its complexity. I then simply googled for bootstrap footer and found bootsnipp.com where I found this footer which was perfectly designed for use as a template.
I still think reversing CSS minification is useful but finding things designed to be used as templates is perhaps more useful.