Tailwind CSS v4 is out!
By Ajdin Holjan

- Published on

Tailwind CSS v4.0 marks the most significant update yet, bringing a completely reimagined configuration system and a high-performance engine designed for speed and efficiency. This version is optimized for flexibility and fully leverages the latest web technologies.
What's New in Tailwind CSS v4?
- π Blazing-Fast Engine β A rewritten core enables builds up to 5x faster, with incremental builds over 100x faster.
- π Automatic Content Detection β No more manual configuration - Tailwind now automatically detects all template files.
- π¨ CSS-First Configuration - Customize and extend Tailwind directly in CSS, reducing the need for JavaScript-based configs.
- π Container Queries β Built-in support for styling elements based on their container size.
- π Modernized P3 Color Palette β A redesigned, more vivid color palette that takes full advantage of modern display technology.
- β‘ Dynamic Utility Values β More flexibility with utility values, reducing the need for custom configurations.
- π 3D Transform Utilities β Easily apply 3D transformations right in your HTML.
- π Expanded Gradient APIs β Full support for radial and conic gradients, plus interpolation modes.
- π¬ @starting-style Support β Enables smooth enter and exit transitions without JavaScript.
- β not-* variant β Style an element only when it doesn't match another variant, custom selector, or media or feature query.
- π οΈ Built-In Vite Plugin β Seamless Vite integration for improved performance and developer experience.
β¦and much more!