I'm using a CSS style for a letter to change a color of a first second third letter.
like this:
.header .logo h1 > a:first-letter {
color: #f91ea5;
}
but I don't know how to change a color of second and third letter it's don't have a second-letter element.
I think, you cannot use pseudo elements as :second-letter
or :third-letter
. It's by design.
But if it's realy necessary, then use JavaScript, for example: this or this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With