Idea by Harry Roberts
Generate an interactive line graph showing the specificity in your stylesheet. Uses d3, css-parser, and specificity.
Online Specificity Graph generator
npm install specificity-graph
To get the example index.html
up and running:
- Clone repo
npm install
npm run example
First require ./lib/core
.
specificityGraph.create(css, options)
specificityGraph.update(css)
0.0.1 Npm package
0.0.0 Initial version