Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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.
3 Antworten
+ 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.
0
Oh. I thought it maybe possible with css😥