About 2,300,000 results
Open links in new tab
  1. 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 …

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

  3. tailwind css version 3 to 4 upgrade - Stack Overflow

    Jul 20, 2025 · I am working on a project using HTML, CSS, vanilla JS, and Tailwind version 4. The installation of Tailwind is successful, but while customizing Tailwind, it fails to update. It …

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

  5. tailwind css - How is it possible to specify a safelist in TailwindCSS ...

    Jan 2, 2025 · The Tailwind CSS team generally takes a firm stance against this kind of syntax because, for example, with bg-*, imagine how many possible variations there could be - this …

  6. tailwind css - How can generate separate CSS files for different ...

    Mar 26, 2025 · I'm using Tailwind CSS v4 and I'd like to generate separate compiled CSS files for different sections of my app (e.g. blog.css, dashboard.css), each one containing only the utility …

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

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

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

  10. how to do gradient borders in tailwind CSS? - Stack Overflow

    Jul 11, 2025 · Tailwind CSS does not provide utility classes for gradient borders out of the box. However, you can achieve gradient borders using a custom plugin with addUtilities() inside …