For Tailwind CSS IntelliSense to work, the tailwind.config.js file must be present at the project root directory. If it does not work, create tailwind.config.js as shown in the document and restart Extension Host (Ctrl + p > Developer: Restart Extension Host). Check here for more information.