请问HN:大型语言模型也难以居中 div 吗?
在过去的半年里,我大量使用了AI编码助手来进行Flutter开发。最近,我需要处理一个Tailwind的网页项目,令我惊讶的是,它在布局和用户界面方面出错的频率很高。即使连接了Puppeteer,能够访问原始HTML输出和截图,它在简单的对齐和居中方面仍然存在困难。
在某种程度上,这反映了著名的“在CSS中居中div”的挑战,但我想知道,对于那些更频繁使用网页技术栈的人来说,是否也有相同的体验。
查看原文
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.<p>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.