
Tailwind CSS v4 - Unknown at rule @plugin, @custom-variant, @theme ...
Mar 17, 2025 · 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 …
css - How to use @apply in Tailwind v4? - Stack Overflow
Aug 22, 2025 · Since Tailwind v4 update, all @apply directives have ceased to function. The docs provide a workaround with @reference but the posted example is vague. I tried this but it doesn't …
tailwind css - TailwindCSS v4 responsive and custom CSS not applied ...
Apr 7, 2025 · 0 What's layers Since v4, CSS layers play a significant role. The @layer CSS at-rule is used to declare a cascade layer and can also be used to define the order of precedence in case of …
tailwind.config.js file not being generated - Stack Overflow
Aug 24, 2022 · There's no need for the tailwind.config.js file. From now on, with the CSS-first configuration, you can customize TailwindCSS directly from a CSS file. npm install tailwindcss …
Tailwind CSS not applying styles - Stack Overflow
Jun 15, 2022 · The question was originally written for Tailwind CSS v3. Please keep in mind that the new v4 release has more breaking changes, making other questions more relevant now. v4 does not …
Problem installing TailwindCSS after `npx tailwindcss init` command ...
Jan 23, 2025 · The tailwind version has upgraded to v4, npx tailwindcss init -p this command will no longer work in the new update for continuing with the old steps for installing tailwindcss run
tailwind css - Issues installing Tailwindcss, specifically with "npx ...
Dec 28, 2021 · CSS-first configuration replaces tailwind.config.js. The init process has been removed since it's no longer needed. The CLI and PostCSS packages have been separated, so to use npx …
tailwind css - TailwindCSS v4 does not generate certain styles when ...
Apr 11, 2025 · When using the prefix top and left styles are not getting generated in the tailwind css file at all while other are fine. tw:fixed tw:h-[5px] tw:bg-green tw:top-0 tw:left-0 tw:z-1000 Update: I am …
How to set Tailwind CSS v4 global class? - Stack Overflow
Jan 24, 2025 · New "CSS-first" configuration from v4 (instead of tailwind.config.js) CSS-First Configuration: Customize and extend the framework directly in CSS instead of JavaScript. Which …
Tailwind CSS v3 classes is not working in my project
Feb 11, 2022 · Find solutions to fix Tailwind CSS v3 classes not working in your project and ensure proper configuration for seamless integration.