Category : tailwind-css

Sample: https://play.tailwindcss.com/Xialm0nYXU (this works as expected in tailwind playground & when app is run directly on laptop but not within my containerized app. The margins mx are not working only inside containers.) I have a HTML code that is similar to the above (but within a larger application). The margins between the <p> elements work ..

Read more

I’m trying to use Tailwind CSS in my Django project running with Docker / Docker-compose. my Django container is built with python:3.9-slim, which has no npm built-in. I am thinking to use node:15.4-alpine to install tailwind css. How can I do so? Can someone give me guidance on Dockerfile and docker-compose.yml I’ve tried to start ..

Read more