background: need support custom bg-graident-[xxx] #18602
Replies: 2 comments 1 reply
-
|
Use Instead of using
https://tailwindcss.com/docs/background-image#adding-a-linear-gradient Putting it all together: In addition, for the background clipped by In order for the gradient to span from the beginning to the end of the text - rather than the full width of the div - the width of the div needs to be reduced. Just an e.g.: A more illustrative example with more striking colors: |
Beta Was this translation helpful? Give feedback.
-
|
thanks for your reply ❤️ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions