Oxbit Logo
DESIGN

Tailwind CSS v4 — What Changed and Why It Matters

Ejaz Shaikh
Ejaz ShaikhFeb 05, 20255 min read
Tailwind CSS v4 — What Changed and Why It Matters

Tailwind CSS v4 is a complete rewrite powered by a new high-performance engine called Oxide. It is dramatically faster and ships with a new CSS-first configuration system.

Key Changes

  • No more `tailwind.config.js` — configure via CSS
  • 10x faster builds using the new Rust-based engine
  • Native CSS cascade layers
  • New `@theme` directive for design tokens
  • CSS-First Config

    CSS
    @import "tailwindcss";
    
    @theme {
      --color-primary: #3DDB87;
      --font-sans: "Space Grotesk", sans-serif;
    }

    This is a massive improvement in developer experience.