-
-
Save Nikolasgrizli/ddbd929b383ff281bde3ae67380cde9e to your computer and use it in GitHub Desktop.
gradient color letters -webkit only
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
@supports (-webkit-background-clip: text) { | |
.letter { | |
background-image: linear-gradient(170deg, rgba(234, 234, 234, 0) 15%, rgba(234, 234, 234, 0.4) 22%, rgba(194, 73, 119, 0.9) 45%, #c24977 100%); | |
-webkit-background-clip: text; | |
background-clip: text; | |
background-position: center -250%; | |
color: transparent | |
} | |
.letter.-animate{ | |
background-position: 0% 150%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment