AI 写代码为何总把排版搞砸:自己定好字体样式再让它只用这些

hewarsaber · x · 2026-10-28

hewarsaber shares a rule for AI-built websites: never let Claude decide typography. It mixes font sizes and weights and randomly introduces new typefaces — one cited site ended up with 45 different type styles.

His fix: define the styles yourself (1-2 typefaces, a handful of styles is enough) and explicitly instruct the model to use only those.

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →