I’m convinced 40%+ of the anti-CSS complaining is out of frustration from folks who haven’t actually learned how Specificity works. I wrote CSS for five years before I knew this is a thing I needed to learn. It was @mholzschlag who taught me, at a presentation she gave in NYC.
Always frustrated because your CSS styles aren't working the way you intended? You should learn more about CSS Specificity! Check out my newest blog post 🙃 dev.to/emmawedekind/css-spec…
16
51
9
314
I… well, yes. It is definitely frustrating. But also maybe the need for specificity is a symptom of an underlying problem in the system?
3
1
No. It's the most powerful part of CSS if you understand it and can start your style sheets with that in mind. Inline styles only work in abstract development BECAUSE of specificity.

Jan 23, 2019 · 6:45 AM UTC