tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

Background color not changing #367

Open swarnimshukla opened 4 years ago

swarnimshukla commented 4 years ago

Hi, I am learning Tailwind CSS and I was trying to implement it on a project. The color is not loading even though I have specified the specific tags for it. I am attaching a screenshot showing the website and the Inspector. TIA for the help Screenshot from 2019-10-29 03-59-50

simonj commented 4 years ago

How does your tailwind.js file looks like?

swarnimshukla commented 4 years ago

It is working now, I think there was some problem due to cache. Also, attaching the tailwind.js file. Screenshot from 2019-10-29 23-25-55

hacknug commented 4 years ago

Looks like you might be using v0.x if that class doesn't work for you. Is that the case?

swarnimshukla commented 4 years ago

No, I am using tailwind css v1.1.3

hacknug commented 4 years ago

Maybe you're using purgecss and the extractor is not picking your classes up? Hard to say without a repo we can take a look at. Either that or set an example on tailwind.run that reproduces the issue.