RubyFlow The Ruby and Rails community linklog

Finding redundant CSS rules with csscss

Ever wanted to find out right away how many repeated rules you have in your CSS stylesheets? Well now you can with csscss. Just run it against a series of stylesheets and it will report how much duplication is going on.

It is installable via rubygems:

$ gem install csscss $ csscss path/to/styles.css

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in