CSS-Tricks
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 Article — Permalink
The Specificity Graph is a post from CSS-Tricks
Keine Kommentare:
Kommentar veröffentlichen