jQuery will help you get to it easily. Run your text through a loop & for every '\n' character, you can change color of text.
You'll need to assign an initial value to a variable & convert to Hex by using var_name.toString(16); (Converting to Base 16). Incremental or Decremented values through loop will give you that effect.
What method can be used to change the color of text in a paragraph continuously and transition it gracefully?
CSS Animations, I think? Or you could use jQuery.
As Chris said, CSS transitions will work (in modern browsers). But I have to ask why?! I can't think of a good reason to do this.
Thanks guys! Its for a holding page someone has requested.
Are you looking to change the color of all the text as a hole or each letter constantly changing?
If its the last one, let me know, for some reason when i was bored one day i wrote some code to do just that lol... Dont ask, i was bored!
jQuery will help you get to it easily. Run your text through a loop & for every '\n' character, you can change color of text.
You'll need to assign an initial value to a variable & convert to Hex by using var_name.toString(16); (Converting to Base 16). Incremental or Decremented values through loop will give you that effect.