0

Possible Duplicate:
How to clean up styles in a large web site?

Is there any kind of parsing tool, which can scan my *.css file across all pages of my web application and organize its content ? By organizing I mean throw out redundant inputs, unify selectors which duplicate each other's behavior, and so on.

Community
  • 1
  • 1
jwaliszko
  • 16,942
  • 22
  • 92
  • 158

2 Answers2

1

Im not sure of a program that will go through all your files. but this one will do it one at a time

http://www.cleancss.com/ and http://www.lonniebest.com/FormatCSS/

Tommy
  • 39,592
  • 10
  • 90
  • 121
Eric Robinson
  • 2,025
  • 14
  • 22
0

I've used CleanCSS to great extent.

It's not your ideal solution- It can't scan a directory, but you can copy/paste the contents of your css files and it will condense all of the duplicate selectors and properties.

Nick Orlando
  • 484
  • 1
  • 5
  • 17