What is a good CSS cleaning tool?

I am working on a CSS file which is a complete mess right now and wanted to clean it up, look:

 ...
 solid; border-collapse: collapse! important} .account_table_top_text {padding: 5px 0 5px 10px} .account_table_header_text {font-family: Arial, Helvetica, sans-serif! important; font-weight: bold; font-size: 16px; color : black} .account_add_account_link {cursor: pointer; text-
 ...

Anyway, you got the idea if there is a good tool for cleaning CSS files? I just want the file to be much cleaner and more readable.

+7
css
source share
7 answers

I always run dirty CSS through this online tool . It works wonders for unformatted CSS.

+12
source share
+3
source share
+2
source share
+1
source share

If you are working in Visual Studio (which may or may not be), I fully understand that this may not be the case ...) click

[Ctrl]+[K] - [Ctrl]+[D] 

organizes any file for you (css, html, C #, vb.net, xml ...).

+1
source share

The new version of the firefox plugin from Dust-ME Selectors, which works for versions of firefox 5-9 http://blog.brothersmorrison.com/?p=198

https://addons.mozilla.org/en-US/firefox/addon/css-roundup/

0
source share

I like ProCSSor , which is available both on the Internet and as a Mac application. One of the advantages over FormatCSS that Dan Walker talked about is that he can have child selectors that I think improve readability.

0
source share

All Articles