I’ve seen this feature in a couple of WordPress themes where the background of for example the footer slowly changes its color, and I have always wondered if there is a simple trick to do this. (This is probably done with jquery? Or can it be done with pure css?)
Basically, the background color gradually transitions from one color to another (for example pink to blue, blue to red, red to pink) and stays in an infinite loop. It doesn’t require any action such as hover or click, it just does its thing. 🙂
Is there an easy way to do this? If so, would love to see the best way to do this with an example code.
Thank you so much in advance.
You don’t need in jQuery for making this trick. You can use simple css animation instead, and it will be more perfomence and simply.
It’s my example
Our layout’s
Css style
In this code we created simple css animation, which change colors of our block.
You’re welcome 🙂 Can you ask me something, if you want.
Something like this ?