+ 3
How do i set a single color for each letter like how Google has been spelt
5 Answers
+ 5
see my code..
https://code.sololearn.com/WTEaXrioL1fg
+ 1
Thank you guys
0
span
0
first
<p style="color:red">H</p>
<p style="color:pink">e</p>
<p style="color:green">l</p>
<p style="color:blue">l</p>
<p style="color:yellow">o</p>
second
<head>
<style>
#h{
color:red;
}
#e{
color:blue
}
#l{
color:pink;
}
#ll{
color:yellow;
}
#o{
color:green;
}
</style>
</head>
<p><span id="h">H</span><span id="e">e</span><span id="l">l</span><span id="ll">l</span><span id="o" >o</span>
Animate
https://code.sololearn.com/WemZ6Amp3q02/#html