Created
September 10, 2020 07:45
-
-
Save dpolyakov/be300ad23b2fdf9f74ee736568aa5520 to your computer and use it in GitHub Desktop.
gradient-text-animate
This file contains 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
@keyframes gradient-text-animate { | |
0% { | |
background-position: 0 50% | |
} | |
50% { | |
background-position: 100% 50% | |
} | |
to { | |
background-position: 0 50% | |
} | |
} | |
@supports (-webkit-text-fill-color:transparent) { | |
.gradient-text { | |
background: linear-gradient(141.27deg,#ff904e -4.24%,#ff5982 21.25%,#ec68f4 44.33%,#79e2ff 83.46%); | |
background-size: 200%; | |
background-clip: text; | |
animation: gradient-text-animate 10s ease infinite; | |
-webkit-text-fill-color: transparent | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment