Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Count the number of CSS rules in a file
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
README.md
package.json

README.md

csscount

A super-simple script that counts up the number of CSS selectors in a file. Useful for checking against Internet Explorer's CSS selector limit.

How to install

$ npm -g install csscount

How to Use

$ csscount style.css
1337

csscount can also read from stdin:

$ scss style.scss | csscount -
9001
Something went wrong with that request. Please try again.