Linked Questions
12 questions linked to/from Tailwind CSS IntelliSense plugin just isn't working on my VSCode
385 votes
30 answers
390k views
How to add a @tailwind CSS rule to CSS checker
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)
32 votes
21 answers
71k views
Tailwind CSS IntelliSense does not provide suggestions in a ReactJS project?
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 ...
25 votes
4 answers
67k views
Cannot build frontend using Vite, TailwindCSS with PostCSS
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 ...
14 votes
14 answers
12k views
VSCode Tailwind CSS Intellisense autocompletion and suggestions not working after installing Tailwind v4
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 ...
10 votes
5 answers
10k views
TailwindCSS IntelliSense not working in VSCode when use Play CDN without more configuration
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 ...
7 votes
11 answers
20k views
Tailwindcss Intellisense not working in VS Code
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 ...
15 votes
1 answer
32k views
How to set Tailwind CSS v4 global class?
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 ...
8 votes
3 answers
15k views
Tailwind CSS v4 - Unknown at rule @plugin, @custom-variant, @theme, @utility, @variant, @apply, @source, @reference in global.css
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) ...
1 vote
2 answers
1k views
tailwind not suggeting class after plugin install (intellisense not working ,@tailwindcss/line-clamp )
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 ...
0 votes
1 answer
1k views
Tailwind CSS intellisense not initializing
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&...
1 vote
1 answer
577 views
Linting not working from TailwindCSS v4 when using TailwindCSS IntelliSense
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 ...
0 votes
2 answers
284 views
Displaying color boxes next to the TailwindCSS class names indicating the color, anywhere such as in class or className attributes
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 ...