0
How can I give each letter in GOOGLE color?
What font family is used in writing GOOGLE?
5 Answers
+ 6
You can choose any font family that you like.
But for coloring individual letters you need to use span tag.
Every letter will be nested in span tag and unique style will be applied to it.
Like
<span class ="one">G</span>
<span class ="two">o</span>
Do same for other letters.
And use css for colors.
.one{
color:blue;
}
.two{
color:red;
}
You can use n-th child selector to make html cleaner but this will also work š
+ 3
š®š³Omkarš thanks very helpful
+ 2
Usman
You can find good explanation here :
W3school:
https://www.w3schools.com/cssref/sel_nth-child.asp
CSS tricks :
https://css-tricks.com/almanac/selectors/n/nth-child/
+ 1
Thanksš®š³Omkarš, how can I use nth child for it