-
-
Save paulocastellano/15338afad1ea7dbe28becad016d179ee to your computer and use it in GitHub Desktop.
Tailwind Utility for using gradients with text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @layer utilities { | |
| .text-gradient { | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <span class="text-gradient bg-gradient-to-r from-pink-400 via-purple-400 to-indigo-500"> | |
| Download for free today. | |
| </span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment