0

I want to apply the following style:

background: linear-gradient(95.84deg, #E70000 -7.49%, #FBCC85 100.66%)

I can customize everything but the first parameter, like this:

bg-gradient-to-r from-[#E70000_-7.49%] to-[#FBCC85_100.66%]

but this doesn't work:

bg-gradient-to-[95.84deg]

or this

bg-gradient-[95.84deg]

I can do as explained here: Tailwind CSS: how to apply background image with linear gradient? but I want to use the "[" syntax, is that possible?

Lucas Steffen
  • 1,244
  • 2
  • 10
  • 22

0 Answers0