Washing behind the CSS ears - The coolest thing since sliced bread??

Maybe.
Certainly worth a try AND certainly Useful!

Apparently just like it's brother, HTML Tidy, CSS has caught up to par in the tidier department - CSS Tidy. But what does it do?

Well. One thing it does do is clean up your CSS.
In fact, if you have a fairly large CSS file, it could just well reduce your CSS actual file size by about 1/3!

Generally what it does is shortens color hex numbers and a bit of other shorter code. Is it the end all be all? Maybe not. Sometimes I personally like to see the full number and extra comments. Plus, it's certainly not going to write it for you! BUT.

One thing it IS good for is taking [sections] or chunks of your CSS file and running it through there to certainly streamline it.
For example you could run all your styles from body to section etc and it will clean it up and then just paste it back in!
If you are looking to do a little CSS housecleaning then this certainly is interesting to see what it does.

I have yet to try out the Layout feature as I am sure that could get interesting.
Now if it could just rewrite everything for you and take shorthand.

http://www.cleancss.com/

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

User login