I’m Dudley Storey, the author of Pro CSS3 Animation. This is my blog, where I talk about web design and development with , and . To receive more information, including news, updates, and tips, you should follow me on Twitter or add me on Google+.

web developer guide

my books

Book cover of Pro CSS3 AnimationPro CSS3 Animation, Apress, 2013

my other blogs

Massive Head Canon: Intelligent discussion of movies, books, games, and technology.

my projects

A Sass color keyword system for designers. Replaces CSS defaults with improved hues and more memorable, relevant color names.

CSSslidy: an auto-generated #RWD image slider. 3.8K of JS, no JQuery. Drop in images, add a line of CSS. Done.

tipster.ioAutomatically provides local tipping customs and percentages for services anywhere.

Four Useful CSS Prettifiers

css / tools

Estimated reading time: 1 minute, 17 seconds

Code “prettifiers” are the opposite to “minifies”. The latter are applications that compress web site code (HTML, CSS and JavaScript) to the smallest possible size by removing spaces, line breaks, and comments. A smaller file size means faster loading times for web pages; every saved byte makes a difference. You’ll find minified code used by most high-traffic websites (view the source code of the Google home page for an example) and frameworks; some CMS’s also minify code by default.

While completely readable by machines, minified code causes headaches when interpreted by human beings; thus, prettifiers, or “beautifiers”, convert the code back into a human-readable format.

ProCSSorProCSSor takes CSS code (either directly via copy-and-paste, as a file upload, or a URL) and cleans it up according to rules you determine; the default ruleset works well for most code you’ll encounter.

StyleneatStyleneat is similar to ProCSSor, with fewer rules but the ability to sort the converted CSS code alphabetically by selector and/or property.

Code beautifierCode beautifier is an online tool based on the venerable CSSTidy application, with the added option to compress and optimize the code at the same time; converted code can be given a balance between readability and file size.

SyntacletSyntaclet is a bookmarklet application for your browser which recognizes a wider variety of languages. The app is intended to do on-screen conversions of poorly-formatted code examples on web pages.

comments powered by Disqus

This site helps millions of visitors while remaining ad-free. For less than the price of a cup of coffee, you can help pay for bandwidth and server costs while encouraging further articles.