https://github.com/springload/css-reporter
It's analytics for your stylesheet
https://github.com/springload/css-reporter
css-reporter specificity
Last synced: 7 months ago
JSON representation
It's analytics for your stylesheet
- Host: GitHub
- URL: https://github.com/springload/css-reporter
- Owner: springload
- License: mit
- Created: 2014-11-05T21:55:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-29T18:29:58.000Z (almost 11 years ago)
- Last Synced: 2024-11-30T22:02:17.547Z (about 1 year ago)
- Topics: css-reporter, specificity
- Language: JavaScript
- Size: 215 KB
- Stars: 126
- Watchers: 39
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSS Reporter
Based on [The Specificity Graph](http://csswizardry.com/2014/10/the-specificity-graph/) by Harry Roberts and Katie Fenn's [parker](https://github.com/katiefenn/parker)

## Usage
```bash
> sudo npm install -g css-reporter
> css-reporter "glob/to/css/files/**/*.css"
```
And visit `localhost:9000` in your browser
## Known issues
* Selectors inside media queries don't behave properly
* !importants are ignored (they're a rule, not a selector)
* Some issues with ID selectors not getting picked up.