Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic CSS simplifier tool? [closed]

Tags:

css

less

I have some complicated and messy CSS, is there some tool which could take this very messy CSS and simplify it?

I know that people often go the other way, they make CSS using a more concise stylesheet language such as http://lesscss.org/ and produce the CSS from this. However my situation is that I have a lot of ugly messy CSS and I want to go the other way.

like image 967
Phil Avatar asked Oct 02 '12 15:10

Phil


2 Answers

CSS Tidy is a good open source optimizer.

Check this online tool too. Its pretty cool for quick optimizations.

If you want the entire package, Google provides closure tools which would optimize, and even minify static files for you - from inline styles, javascript, etc

like image 125
karthikr Avatar answered Oct 18 '22 09:10

karthikr


Try an online service like http://cssbeautify.com/. There are plenty of them out there...

like image 34
Dutchie432 Avatar answered Oct 18 '22 09:10

Dutchie432