Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

text color as gradient css

.gradient-text {
    background-color: #f3ec78;
    background-image: linear-gradient(45deg, #f3ec78, #af4261);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}
Source by fossheim.io #
 
PREVIOUS NEXT
Tagged: #text #color #gradient #css
ADD COMMENT
Topic
Name
2+3 =