Tailwind CSS v4.0 introduces a new performance engine, Tailwind Oxide, and simplifies project setup by eliminating the need for a `tailwind.config.js` file. This version allows customizations directly within the CSS file using the `@theme` directive. Container queries now have built-in support, and many existing utilities have been improved for better efficiency and styling. An upgrade tool is available to assist with migrating projects from v3 to v4, and several changes to existing utilities are outlined to ensure compatibility.

17m read timeFrom blog.logrocket.com
Post cover image
Table of contents
See how LogRocket's AI-powered error tracking worksGetting started with Tailwind v4.0Over 200k developers use LogRocket to create better digital experiencesUpdated color paletteContainer query supportMigrating from v3 to Tailwind CSS v4.0Tailwind and alternative CSS frameworksTransitioning to Tailwind CSS v4.0Is your frontend hogging your users' CPU?
1 Comment

Sort: