You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using comments to annotate a css file would go a long way in making CSS Specificity Graphs more useful (as covered by Snooks).
Here's a mock up of my proposal:
Notice the CSS comment I added on line 8. This makes the vertical marker/axis appear. The marker has a tool tip sighting the line number and marker comment.
I've added a few other comments in the file as well, which results in additional markers.
Note that this isn't a design suggestion. I don't think that red would be the best choice, but I don't actually care.
The text was updated successfully, but these errors were encountered:
Thanks for your proposal, and the link to that article - I hadn't seen it yet. I'll do some thinking and research on this topic and come I'll come back and see what I can do here. Feel free to add more to the discussion if you have more input.
As for initial discussion - I'm not sure that a CSS comment would be the right mechanism for declaring your mark points. Other mechanisms I consider right now:
Clicking on (or otherwise selecting) selector in graph, to drop a line marker.
Passing in the mark points as an optionwhen creating the graph
Using comments to annotate a css file would go a long way in making CSS Specificity Graphs more useful (as covered by Snooks).
Here's a mock up of my proposal:
Notice the CSS comment I added on line 8. This makes the vertical marker/axis appear. The marker has a tool tip sighting the line number and marker comment.
I've added a few other comments in the file as well, which results in additional markers.
Note that this isn't a design suggestion. I don't think that red would be the best choice, but I don't actually care.
The text was updated successfully, but these errors were encountered: