About 2,160,000 results
Open links in new tab
  1. Tailwind CSS v4 - Unknown at rule @plugin, @custom-variant, …

    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 …

  2. 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 …

  3. 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. …

  4. Problem installing TailwindCSS after `npx tailwindcss init` …

    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

  5. tailwind css - TailwindCSS v4 does not generate certain styles …

    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 …

  6. How to configure Tailwind CSS v4 in an ASP.NET Core MVC project?

    Mar 20, 2025 · I'm working on setting up Tailwind CSS in an ASP.NET Core MVC project, and previously, with Tailwind v3, the process involved initializing a tailwind.config.js file and …

  7. 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 …

  8. 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. …

  9. tailwind css - TailwindCSS v4 responsive and custom CSS not …

    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 …

  10. How to use @keyframes in Tailwind CSS version 4?

    Jan 28, 2025 · However, if you still want to use a tailwind.config.js similar to v3, follow "TailwindCSS v4 is backwards compatible with v3" steps with the @config directive. Use new …