Skip to content
Discussion options

You must be logged in to vote

Hey!

You are mixing Tailwind CSS v3 and Tailwind CSS v4 here (I would recommend to look at https://tailwindcss.com/docs/upgrade-guide when upgrading a project, or follow the install steps here: https://tailwindcss.com/docs/installation/tailwind-cli)

Essentially the input.css file uses Tailwind CSS v3 syntax, if you apply this diff it should start working:

- @tailwind base;
- @tailwind components;
- @tailwind utilities;
+ @import "tailwindcss";

Once you do that, the output.css file will contain:

@layer utilities {
  .grid {
    display: grid;
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .bg-blue-200 {
    b…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nasrelasri
Comment options

Answer selected by nasrelasri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #18879 on September 04, 2025 10:53.