TailwindCSS v4 and .cursorrules?

Hi,
tailwind CSS v4 is out. What should I do to update or use the new version in .cursorrules? (Not as doc, but from within .cursorrules)

The answer is evident. Update Docs URL. Thats the only thing necessary to change. You can write in .cursorrules that it should use TailwindCSS v4 if you like to make it clearer that this is your preference?

  • Always use the latest version of Tailwind CSS (v4.x) and ensure all code examples follow v4 syntax and features.

It didn’t work :frowning:

Did you add it to Docs as URL for Tailwind 4 docu pages like documentation shows to do?

Yes I added it but it didn’t work :frowning:

1 Like

ok, it would be helpful to know more how (rules, docs) and what you tried (prompt, model, context) as it works for me. With limited information available its hard to see where it goes wrong.