2

How do I color the word with black and purple, like in the image.enter image description here

<h3 id="logo"> tripbit</h3>

#logo {
    font-family: 'Comfortaa', cursive;
    font-style: normal;
    font-weight: bold;
    font-size: 47.0943px;
    line-height: 53px;
    letter-spacing: -0.05em;
    color: #000000;
}
1

1 Answer 1

0

There are many options:

  1. Applying a griadient to the text.
  2. Overlaying the same text on :: before with a different color and an equivalent z-index.
  3. You can add <span> to each letter and give the appropriate color in css.

Not the answer you're looking for? Browse other questions tagged or ask your own question.