Tailwind CSS v4 Guide: New Engine and CSS-first Configuration
Tailwind CSS v4 rewrites the underlying engine, making full builds over 3.5x faster and moving configuration from JavaScript to CSS. This guide covers @theme, CSS theme variables, automatic content detection and container queries, plus upgrading from v3.