Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to give text two colors in css

h1 {
  font-size: 72px;
  background: -webkit-linear-gradient(green, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #give #text #colors #css
ADD COMMENT
Topic
Name
2+3 =