Tailwind uses a bunch of non-standard at-rules like @tailwind and @apply, so you get lint warnings in VS Code if you use the regular CSS language mode.
To get around this, we’ve always recommended people use the PostCSS Language Support plugin which gets rid of those warnings, but also removes all of the other CSS IntelliSense support.
You can read more about the new Tailwind CSS language mode for VS Code
Since that then, the Tailwind team has released Tailwind CSS Intellisense
Once you have the extension installed, if you want to try it out choose “Tailwind CSS” as the language mode for your CSS files.
Thanks Tailwind team and happy VS Coding!
Top comments (3)
Tailwind Docs: Another helpful VS Code plugin to find the utility documentation easily.
Tailwind Prettier Plugin: A Prettier plugin for Tailwind CSS v3.0+ that automatically sorts classes based on our recommended class order. (Read more here).
Happy Tailwinding ❤️
Thanks for sharing!
Post Banner
Can you please tell me the font family used in the post's banner!? 😅