Linked Questions

385 votes
30 answers
390k views

Tailwind CSS adds a @tailwind CSS at rule which is flagged as unknown. How can I avoid this error? @tailwind preflight; @tailwind utilities; Warning: Unknown at rule @tailwind css(unknownAtRule)
Steve Lee's user avatar
  • 6,179
32 votes
21 answers
71k views

I created a ReactJS project using create-react-project command. I npm installed tailwindcss and created a tailwind.config.js file. Now to make my life easier I also installed an extension called ...
jatin grover's user avatar
25 votes
4 answers
67k views

10:04:32 PM [vite] Internal server error: [postcss] It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue ...
amos murmu's user avatar
14 votes
14 answers
12k views

I've intsalled Tailwind CSS v4 (released in Jan'25) in VSCode project (Vite): npm install tailwindcss @tailwindcss/vite Now the Tailwind CSS Intellisense extension in VSCode is not working. It is not ...
DEV's user avatar
  • 198
10 votes
5 answers
10k views

TailwindCSS IntelliSense in VSCode is not working when I use it with the TailwindCSS "Play CDN". I don't use any more configuration. I installed TailwindCSS IntelliSense and then created a ...
Siddhant's user avatar
  • 119
7 votes
11 answers
20k views

I have checked out many answers from Stack Overflow but I wasn't able to fix the issue that IntelliSense not working for Tailwind CSS. But VS Code's IntelliSense working for other things like python ...
H Nazmul Hassan's user avatar
15 votes
1 answer
32k views

I started a new project using the latest Vite and Tailwind. In version 4.0, I couldn't find the tailwind.config.js file, which made me confused about how to configure global types. Especially the ...
miyen's user avatar
  • 151
8 votes
3 answers
15k views

I'm using Tailwind CSS v4 in my Next.js project and getting the following errors in globals.css: Unknown at rule @plugin css(unknownAtRules) Unknown at rule @custom-variant css(unknownAtRules) ...
Moazzam Sonu's user avatar
1 vote
2 answers
1k views

I installed the plugin @tailwindcss/line-clamp, but its not working its not being suggested by intellisense and even when I type in the class manually it doesn't change my styling . here is my ...
The code painter's user avatar
0 votes
1 answer
1k views

Suddenly, My Tailwind CSS Intellisense is not working(initializing). I've seen plenty of other questions, And Tried almost everything. Here is my additions in settings.json "files.associations&...
Anay's user avatar
  • 331
1 vote
1 answer
577 views

I've been using the TailwindCSS IntelliSense VSCode plugin since TailwindCSS v3. Recently, I created Next.js 15 project using TailwindCSS v4 with create-next-app. Autocomplete and Hover previews are ...
Jun Jang's user avatar
0 votes
2 answers
284 views

Is it possible to display color boxes before any TailwindCSS class name related to colors, regardless of where I write the TailwindCSS class name? I've noticed that this works perfectly in CSS files ...
Harry Northover's user avatar