How to change the background after a while?

there is a container in which it is necessary that the background was changing every 3 seconds, but the styles this container remained the same
how to do it?
March 12th 20 at 08:06
2 answers
March 12th 20 at 08:08
On CodePen you can look for solutions for tags "animate background color "

The type of such or such
I need a change where the background image,not color - peter commented on March 12th 20 at 08:11
Well, the principle is the same. Only instead of background-color is background-image - Madelyn.Schumm commented on March 12th 20 at 08:14
March 12th 20 at 08:10

Find more questions by tags CSSJavaScriptHTML