Need to import the tailwind css utility files in the root css file.
Below are the utility files which needs to be used
@tailwind base; @tailwind components; @tailwind utilities;
Along with this make sure postcss plugin is configured properly.