About 2,290,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. 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 …

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

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

  5. How to access all the direct children of a div in Tailwind CSS?

    Apr 16, 2021 · How to access all the direct children of a div in Tailwind CSS? Asked 4 years, 8 months ago Modified 2 months ago Viewed 301k times

  6. How to use custom color themes in TailwindCSS v4

    Mar 11, 2025 · What's breaking changes from TailwindCSS v4 New CSS-first configuration from TailwindCSS v4 Removed @tailwind directives Deprecated: Sass, Less and Stylus …

  7. How to add a linear gradient to text in Tailwind CSS?

    Feb 21, 2022 · The Tailwind classes corresponding to those steps are: bg-gradient-to-r from-pink-500 to-violet-500 bg-clip-text text-transparent Further customization options are described in …

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

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

  10. VSCode Tailwind CSS Intellisense autocompletion and suggestions …

    Jan 28, 2025 · Tailwind css has released new version (4.0.0) and after installing it - ( npm install tailwindcss @tailwindcss/vite ) intellisense extension on VS Code stops working!