<alpha-value> not working
#13807
-
I'm using Tailwind 3.3.0. I want to define foreground and background colors in CSS and use them in Tailwind with opacity modifiers. This works:
then This does not work:
|
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Jun 6, 2024
Replies: 1 comment 1 reply
-
Seems to work in this Tailwind Play, so perhaps check you have used the modern |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lukasb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems to work in this Tailwind Play, so perhaps check you have used the modern
rgb()
syntax for the--background-rgb
variable. Otherwise, consider providing a project that reproduces the unexpected behavior.