Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css color word multiple colors

<!DOCTYPE html>
<html>
  <head>
    <title>The title of the document</title>
    <style>
      .multicolortext {
        background-image: linear-gradient(to left, violet, indigo, green, blue, yellow, orange, red);
        -webkit-background-clip: text;
        -moz-background-clip: text;
        background-clip: text;
        color: transparent;
      }
    </style>
  </head>
  <body>
    <h1>
      <span class="multicolortext">Let’s be creative!</span>
    </h1>
  </body>
</html>
Source by www.w3docs.com #
 
PREVIOUS NEXT
Tagged: #css #color #word #multiple #colors
ADD COMMENT
Topic
Name
9+8 =