Should DevTools teach the CSS cascade?

Stefan Judis, two days before I mouthed off about using (X, X, X, X) for talking about specificity, has a great blog post not only using that format, but advocating that browser DevTools should show us that value by …


The post Should DevTools teach the CSS cascade? appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.


This content originally appeared on CSS-Tricks and was authored by Chris Coyier

Stefan Judis, two days before I mouthed off about using (X, X, X, X) for talking about specificity, has a great blog post not only using that format, but advocating that browser DevTools should show us that value by selectors.

I think that the above additions could help to educate developers about CSS tremendously. The only downside I can think of is that additional information might overwhelm developers, but I would take that risk in favor of more people learning CSS properly.

I’d be for it. The crossed-off UI for the “losing” selectors is attempting to teach this, but without actually teaching it. I wouldn’t be that worried about the information being overwhelming. I think if they are considerate about the design, it can be done tastefully. DevTools is a very information-dense place anyway.

Direct Link to ArticlePermalink


The post Should DevTools teach the CSS cascade? appeared first on CSS-Tricks.

You can support CSS-Tricks by being an MVP Supporter.


This content originally appeared on CSS-Tricks and was authored by Chris Coyier


Print Share Comment Cite Upload Translate Updates
APA

Chris Coyier | Sciencx (2021-05-21T23:22:54+00:00) Should DevTools teach the CSS cascade?. Retrieved from https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/

MLA
" » Should DevTools teach the CSS cascade?." Chris Coyier | Sciencx - Friday May 21, 2021, https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/
HARVARD
Chris Coyier | Sciencx Friday May 21, 2021 » Should DevTools teach the CSS cascade?., viewed ,<https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/>
VANCOUVER
Chris Coyier | Sciencx - » Should DevTools teach the CSS cascade?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/
CHICAGO
" » Should DevTools teach the CSS cascade?." Chris Coyier | Sciencx - Accessed . https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/
IEEE
" » Should DevTools teach the CSS cascade?." Chris Coyier | Sciencx [Online]. Available: https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/. [Accessed: ]
rf:citation
» Should DevTools teach the CSS cascade? | Chris Coyier | Sciencx | https://www.scien.cx/2021/05/21/should-devtools-teach-the-css-cascade-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.