Concurrent visitors over the last 30 minutes. (~)
Peak concurrent visitors -
Yesterday: 0 / Today:
0
Tailwind CSS v4 was officially released on January 23.
Along with its major changes, it brings even better performance and usability.
@layer, @property, color-mix(), and more)When you create a new project with the latest Next.js 15, Tailwind CSS v4 is applied by default.
If you want to use Tailwind CSS v4 in an existing Next project, set it up with the following steps.
First, install each package at its latest version.
1npm i -D tailwindcss@4 postcss @tailwindcss/postcss
Change the option name in the PostCSS configuration.
123456789/** @type {import('postcss-load-config').Config} */ const config = { plugins: { // tailwindcss: {} "@tailwindcss/postcss": {} } } export default config
Also change the style code that you import globally.
123456/* @tailwind base; @tailwind components; @tailwind utilities; */ @import "tailwindcss"; /* Omitted.. */