Ask HN: LLM struggles to center div too?

4 divan 3 9/6/2025, 3:27:50 PM
I used AI coding agents for the past half a year a lot with Flutter. Recently I had to work on the tailwind web project, and I was surprised how often it gets layout/UI wrong. Even with puppeteer attached, haveing access to raw HTML output and screenshots, it's still struggles to do simple alignment, centering things.

In a way, it mirrors famouse "centering div in css" challenge, but I wonder if it's the same experience for other people who work with web stack more often.

Comments (3)

geophph · 46m ago
Yes I’ve grumpily wasted far too much time on debugging reasonably basic layout things with AI and getting nowhere.
alexander2002 · 1h ago
AI is really bad at fe.
throwaway019254 · 8m ago
I had much better success with FE than with BE.

Does it mean AI is really bad at FE and even worse at BE?