What version of Tailwind CSS are you using?
v4.0.7
What build tool (or framework if it abstracts the build tool) are you using?
gulp v5.0.0 + Postcss
What version of Node.js are you using?
v20.18.1
What browser are you using?
Brave + Safari
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/16SCposb3z
Describe your issue
Using the following class doesn't give the desired result in v4:
bg-gradient-to-r from-sky-500 to-sky-500 via-rose-500 via-[percentage:10%_90%]
v3

v4

The browser considers the property as invalid because it's not a <length-percentage>:

What version of Tailwind CSS are you using?
v4.0.7
What build tool (or framework if it abstracts the build tool) are you using?
gulp v5.0.0 + Postcss
What version of Node.js are you using?
v20.18.1
What browser are you using?
Brave + Safari
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/16SCposb3z
Describe your issue
Using the following class doesn't give the desired result in v4:
bg-gradient-to-r from-sky-500 to-sky-500 via-rose-500 via-[percentage:10%_90%]v3
v4
The browser considers the property as invalid because it's not a <length-percentage>: