CSS / PRODUCTION DEBUGGING One reset. Two different results. DEV / EXPECTED PRODUCTION / CLIPPED top: 10px y: -67.5px BUILD translate: none translate: 0 -50% inspect output → check @layer → measure both axes 为什么 `translate: none` 只在生产环境失效 复现 Lightning CSS 合并独立变换属性的行为,解释为何 !important 不是通用修法,并用 Tailwind 变量覆盖与明确的层叠顺序修复生产位移。 曾亮懿 2026年9月11日 阅读约 7 分钟 #CSS #Tailwind #构建 #调试