discuss icon indicating copy to clipboard operation
discuss copied to clipboard

Background color not changing

Open swarnimshukla opened this issue 4 years ago • 5 comments

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

swarnimshukla avatar Oct 28 '19 22:10 swarnimshukla

How does your tailwind.js file looks like?

simonj avatar Oct 29 '19 11:10 simonj

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

swarnimshukla avatar Oct 29 '19 17:10 swarnimshukla

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

hacknug avatar Oct 29 '19 18:10 hacknug

No, I am using tailwind css v1.1.3

swarnimshukla avatar Oct 29 '19 18:10 swarnimshukla

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.

hacknug avatar Oct 29 '19 18:10 hacknug