If your project is running in WSL (Windows Subsystem for Linux), the Tailwind CSS IntelliSense extension got deprecated for Windows. Update it to run in WSL instead.
Open extensions > tailwind css intellisense > install in wsl ubuntu
Then reopen the file.