Posts with the tag: tailwindcss

Exploring Tailwind-in-JS: Tailwind CSS on demand

A while ago I was exploring ways to adopt Tailwind CSS to style content that I was not responsible for. A good example of this is content coming from a database. For context, Tailwind CSS builds the styles needed for an application based on the folders and file patterns the developer specifies in their config file during the build. If the markup is dynamically rendered, the build tool doesn’t know what to include in the final bundle.