Tailwind CSS v4.0 测试版 1

Adam Wathan
Tailwind CSS v4.0-beta

大约八个月前,我们开源了 Tailwind CSS v4.0 的进展。经过数百小时的修复漏洞、令人疲惫的向后兼容性工作,以及排查 Windows CI 故障之后,我很高兴终于可以发布第一个公开测试版。

🌐 About eight months ago we open-sourced our progress on Tailwind CSS v4.0. Hundreds of hours of fixing bugs, soul-crushing backward compatibility work, and troubleshooting Windows CI failures later, I'm excited to finally tag the first public beta release.

正如我在发布第一个 alpha 版本时提到的,Tailwind CSS v4.0 是一款全新的引擎,专为性能而打造,专为现代 Web 设计。

🌐 As I talked about when we published the first alpha, Tailwind CSS v4.0 is an all-new engine built for performance, and designed for the modern web.

  • 为性能而生 —— 在新引擎中,完整构建速度提高了最多 5 倍,增量构建速度提高了 100 倍以上 —— 并以微秒为单位进行衡量。
  • 统一工具链 — 内置导入处理、供应商前缀和语法转换,无需额外工具。
  • CSS 优先配置——一种重新构想的开发者体验,你可以直接在 CSS 中自定义和扩展框架,而不是通过 JavaScript 配置文件。
  • 为现代网页设计 — 构建于原生级联层、宽色域色彩之上,并提供对现代 CSS 功能的一流支持,如容器查询、@starting-style、弹出框等。

还有很多内容要说,但你需要的一切都包含在我们今天发布的新 Beta 版文档中:

🌐 There's so much more to say, but everything you need to get started is in the new beta documentation we published today:

开始使用 Tailwind CSS v4.0 测试版 1 →

开始构建并帮助我们完善此项目,以便在新年初发布稳定版本。

🌐 Start building and help us bullet-proof this thing for the stable release early in the new year.

TailwindCSS 中文网 - 粤ICP备13048890号