You didn’t describe or share any errors.
https://github.com/tailwindlabs/tailwindcss/discussions/5258
You can either ignore the rule. Or better, add the Tailwind CSS IntelliSense extension (I’d suggest you get it no matter what, it’s super handy) and then use the settings (adjust the file extensions as needed).
"files.associations": {
"*.css": "tailwindcss"
}
If you do not want it as a global setting, do it using the workspace settings, it will create a .vscode folder with the settings just for that project.