Hacker News new | ask | show | jobs
by firefoxd 458 days ago
Hot take: you suck at CSS because you never bothered learning it.

A long time ago, everyone in my team kept making excuses why they hate css. I went to Lynda.com and found a pretty good class. I can't remember the instructor, but it was so good that I still use the same patterns more than a decade later. I tried to get the whole team to take it, but no one wanted to. "It's a waste of time", "It's not even a programming language."

They built all kinds of tooling around css, trying to avoid css. We had dormant css that no one could ever figure out if it was used, we had important and position absolute everywhere. Today, it's not so different. You see divs with 20 or 30 classes in them.

Just learn css. Any class is better than no class.

2 comments

There are a few basic skills that lots of developers stubbornly refuse to learn properly:

- Regex

- SQL (if you do some backend work)

- CSS (if you do some frontend work)

- Bash + basic CLI tools (vim, grep, find, sed, awk)

- Git

Really learning these makes your life sooo much easier.

> you see divs with 20 or 30 classes in them

Isn’t that exactly how you’re supposed to use tailwind?