Open
0

What is the syntax to hold multiple background image and appear them after some seconds interval?

Is there any possible way to change the background image like @keyframes background color? Please explain if exists.

31st Jul 2020, 4:33 AM
Riyad Rahman [π©]
Riyad Rahman [π©] - avatar
3 Answers
+ 6
You can't use keyframes to change background image because there is no transition states. You can use setTimeout or setInterval in JavaScript to change with Element.style.backgroundImage properties.
31st Jul 2020, 4:38 AM
Gordon
Gordon - avatar
31st Jul 2020, 5:36 AM
Calviղ
Calviղ - avatar
0
Oh. I thought it maybe possible with css😥
31st Jul 2020, 4:40 AM
Riyad Rahman [π©]
Riyad Rahman [π©] - avatar