Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
88 views

I'm working on a Next.js 16 project and trying to set up Tailwind CSS v4. I installed Tailwind via npm: npm install -D tailwindcss postcss autoprefixer I also created the following config files ...
trabelsi wejden's user avatar
1 vote
1 answer
365 views

I'm currently building a custom component library (similar to DaisyUI) using Tailwind CSS v4. I'm defining custom utility classes such as .badge, .badge-success, .badge-error, etc., through a plugin ...
Trung Vu's user avatar
1 vote
1 answer
573 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
272 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
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
0 votes
1 answer
130 views

When I start typing p inside a React component, it suggests some functions, but I want Tailwind CSS classes to appear first in the autocomplete suggestions instead. Is there a way to configure my ...
aanish27's user avatar
0 votes
3 answers
2k views

I want to associate TailwindCSS syntax interpretation with .vue (or Svelter / Astro) files so that the VSCode doesn't show errors for TailwindCSS directives in the <style> section, which would ...
rozsazoltan's user avatar
  • 18.4k
46 votes
7 answers
77k views

I am unable to see the output on the display due to this problem. How can I fix this issue? I have already spent a lot of time trying to solve it, so can anyone provide a solution? @tailwind base; ...
Harshil Sutariya's user avatar
-2 votes
1 answer
175 views

I can't add custom class. There seem to be three problems here and I don't know what the yellow line is. I have installed it several times but it did not help. I checked all the routes and there was ...
Shahram Love's user avatar
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
2 votes
5 answers
6k views

I am using twrnc package for using Tailwind CSS in React Native Project. The syntax for that is, <View style={styles.container}> <Text style={tw.style`text-green-500 font-bold`}>Open up ...
Pushprajsinh Chudasama's user avatar
106 votes
51 answers
221k views

So the description of the plugin is that it'll display suggestions of classes when am working on the markup, but it doesn't. I've reloaded the plugin countless times. I even restarted VSCode and ...
Daze's user avatar
  • 1,069
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