Tailwind CSS v4.0 Beta 1

Adam Wathan

大约八个月前,我们在 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 倍 - 以微秒为单位。

    ¥Built for performance — full builds in the new engine are up to 5x faster, and incremental builds are over 100x faster — and measured in microseconds.

  • 统一工具链 - 内置导入处理、供应商前缀和语法转换,无需额外工具。

    ¥Unified toolchain — built-in import handling, vendor prefixing, and syntax transforms, with no additional tooling required.

  • CSS 优先配置 - 重新构想的开发者体验,你可以直接在 CSS 中自定义和扩展框架,而无需使用 JavaScript 配置文件。

    ¥CSS-first configuration — a reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file.

  • 专为现代 Web 设计 - 基于原生级联层和广色域色彩构建,并包含对容器查询、@starting-style、弹出窗口等现代 CSS 功能的一流支持。

    ¥Designed for the modern web — built on native cascade layers, wide-gamut colors, and including first-class support for modern CSS features like container queries, @starting-style, popovers, and more.

还有很多内容要说,但你需要的一切都包含在我们今天发布的新 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 Beta 1 →

¥Get started with Tailwind CSS v4.0 Beta 1 →

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

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

TailwindCSS v4.1 中文网 - 粤ICP备13048890号