Replies: 1 comment
-
I believe this happens because you can't have nested rules inside <div class="animate-bgHighlightFade dark:[--bg:var(--color-amber-500)]"> @keyframes bgHighlightFade {
0% {
background-color: var(--bg, var(--color-amber-200));
}
100% {
background-color: transparent;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
v4.0.12
What build tool (or framework if it abstracts the build tool) are you using?
For example: Vite 6.2.0 + tailwindcss vite plugin
What version of Node.js are you using?
v23.0.0
What operating system are you using?
For example: macOS
Describe your issue
The following
generates this CSS when building with vite:
Expected result is below (works properly in dev mode):
Beta Was this translation helpful? Give feedback.
All reactions