What is the syntax to hold multiple background image and appear them after some seconds interval? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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