Similar Question:
jQuery animate backgroundColor
Can I make the background-color of a specific element change gradually when the page loads?
I have a webpage with content like this:
<ul>
<li> Some stuff</li>
<li> Some other stuff</li>
<li class="unread"> Some more stuff</li>
</ul>
For elements with the .unread class, I want the background color to start as a light yellow and then transition into the regular white background of the page. This effect is similar to receiving a new message or notification on Facebook.