Questions tagged [tailwind-in-js]

120 questions
1
vote
2 answers

Tailwind css has unexpected behavior using React

So I have an array of colors let colors=["red-500","blue-500","green-500","yellow-500","cyan-500","white-500","orange-500"] and i wanna use a specific color depending on a number

the colors are not…
Hamza S
  • 13
  • 3
1
vote
1 answer

Tailwind select element not displaying correctly

There seems to be a problem with any select elements that I create in my project, on desktop everything renders fine, as soon as I open the google chrome inspector and click on the select box to render the options, they appear like this: The…
Nicolae Maties
  • 2,476
  • 1
  • 16
  • 26
1
vote
1 answer

Tailwind - How to add 'image-rendering: -webkit-optimize-contrast' to tailwind.config.js

I'm trying to have an efficient way to re-use image-rendering: -webkit-optimize-contrast in different components in my Vue app. I don't want to create it as a