Hacker News new | ask | show | jobs
by Hackbraten 379 days ago
> Its just trivial problem like centering things in CSS

Maybe it’s not trivial for them?

How do you know they weren’t trying to learn?

3 comments

I have been using CSS since, well, they were invented back in 1995 but not continuously (when I need them). And I can never remember how to properly center things or how to do a lot of supposedly simple things. The specs has a lot of confusing naming (the naming have some logic, but nevertheless a confusing) and of course a lot of interrelated effects.

We used to have css editors that helped.

But I’m glad LLMs can now write CSS for me, and it nearly works perfect every time (I sometimes have to dig and fix things, and to push it to use the latest specs not old obsolete tricks)

I know because I had a chat with him. Why not experimenting a bit instead of saying on and on again to LLM that the things are not center yet?

I know centering things in CSS can be a lot harder than it seems.

It may be trivial now with flex... But back then, let me tell you...
You still have to remember which flex property to use, unless it's something trivial like `margin: auto`. I always have to find the right combination in DevTools first before commuting to changing the stylesheet, even after extensively working with flex since its inception.
Back then we had tables!