cssreactjsbackgroundtailwind-css

How to use background with linear gradient in Tailwind css


i want to use this color in my background

linear-gradient(355.45deg, #FFFFFF 11.26%, rgba(255, 255, 255, 0) 95.74%)

i know that how to this color in my background using css. but how to use this color using tailwind css.


Solution

  • use bg-[...] and put your custom color or what you want inside [], in tailwind you can also use same way to give custom attributes to more things