I am working on a CSS file that is a total mess right now and wanted to clean it up, take a 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, is there a good tool to clean up CSS files? I just want the file much much cleaner and readable.
Clean-css is a fast and efficient Node. js library for minifying CSS files. According to tests it is one of the best available.
I always run messy CSS through this online tool. It works wonders for unformatted CSS.
Online tool available here:
http://www.cssdrive.com/index.php/main/csscompressor/
Comparison of various solutions here:
http://idoblogging.wordpress.com/2007/02/10/comparison-css-cleanupcompressoptimizer-tools/
Try ProCSSor
http://www.prettyprinter.de/
If you're working in Visual Studio (which you might or might not be - I am fully aware that this might not be the case...) pressing
[Ctrl]+[K] - [Ctrl]+[D]
will organize any file for you (css, html, c#, vb.net, xml...).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With