tailwind-css

Django – TailwindCSS won't load some attributes

Django – TailwindCSS won't load some attributes Question: I’m having issues when it comes to using some attributes with Django and TailwindCSS. Let’s take this table for example: <div class="relative overflow-x-auto shadow-md sm:rounded-lg"> <table class="w-full text-lg text-left text-gray-500 rounded-2xl mt-4 dark:text-gray-400"> <thead class="rounded-2xl text-lg text-white uppercase bg-[#68BA9E] dark:bg-gray-700 dark:text-gray-400"> <tr> <th scope="col" class="px-6 py-3"> Report …

Total answers: 4

How to use TailwindCSS with Django?

How to use TailwindCSS with Django? Question: How to use all features of TailwindCSS in a Django project (not only the CDN), including a clean workflow with auto-reloading and CSS minify step to be production-ready? Asked By: David Dahan || Source Answers: Updated in July 2022: PostCSS is no longer necessary – there is a …

Total answers: 8