Home > Web Design | Web Development > The Specificity Graph

The Specificity Graph

Harry Roberts, on charting CSS selector specificity across entire codebases:

A spiky graph is a bad graph.

I would think if you went 100% on a methodology that encouraged class names for everything, your chart would be damn near flat. I wonder if that’s a worthy goal. Something to draw a line in the sand on, for the good of a project.

Direct Link to ArticlePermalink


The Specificity Graph is a post from CSS-Tricks

TOP
Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Linkedin