Skip to content
Discussion options

You must be logged in to vote

Okey, I found the error:

In Tailwind CSS v4, the way you import and use Tailwind's utility classes has changed. The old @tailwind base;, @tailwind components;, and @tailwind utilities; directives are no longer used. Instead, you simply import Tailwind CSS with:
@import "tailwindcss"; in the tailwind.css

This change is part of the updates in Tailwind CSS v4, which aims to make the framework feel more CSS-native and easier to use.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@gbj
Comment options

gbj Feb 28, 2025
Maintainer

@FabianBruenger
Comment options

@FabianBruenger
Comment options

@FabianBruenger
Comment options

Answer selected by FabianBruenger
@FabianBruenger
Comment options

@gbj
Comment options

gbj Feb 28, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants