-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid css transformation on build #15897
Comments
Seems like a bug in Lightning CSS: parcel-bundler/lightningcss#771 |
I'm facing a similar issue when I use |
A different bug in Lightning CSS: parcel-bundler/lightningcss#899 |
Have anyone handle this bug guys, I just faced this bug. |
@viettc98 If you are referring to the So this should work: lg:bg-[left_50% _bottom_-15rem] |
This is now fixed in Lightning CSS v1.29.2. |
It seems like |
What version of Tailwind CSS are you using?
v4.0.0
What build tool (or framework if it abstracts the build tool) are you using?
svelte 5.19.2, tailwindcss/vite 4.0.0, vite 6.0.11
What version of Bun js are you using?
v1.2.0
What browser are you using?
Zen Browser (Firefox)
What operating system are you using?
Ubuntu 22.04
Reproduction URL
https://play.tailwindcss.com/czuZLwTt4a
Describe your issue
The bug is, i have a class like this
lg:bg-[center_bottom_-15rem]
and on development mode, tailwind puts all thing as is. When build the app, transformation is convert that into invalid status.center
turning into50%
and its invalid.Expectation is, not creating a invalid value.
The text was updated successfully, but these errors were encountered: