+ 1

How can i make a html/css/js part where you can repeat the changing over and over

https://code.sololearn.com/WIlaAchDaFVa/?ref=app

10th Mar 2018, 8:58 PM
Roel
Roel - avatar
6 Answers
+ 6
First, add this to your div CSS: animation-iteration-count: infinite; Then, you'll have to adjust your background-color keyframes to decrease blue and increase red, for a smooth loop around. Perhaps increase/decrease by 10 instead of 5 for each frame.
10th Mar 2018, 9:13 PM
Tamra
Tamra - avatar
+ 6
No, it isn't, unfortunately.
10th Mar 2018, 9:32 PM
Tamra
Tamra - avatar
+ 5
Looks like you got it working! Nice job! And it's much simpler. 😁
13th Mar 2018, 8:20 PM
Tamra
Tamra - avatar
+ 1
Tamra, is it possible to in/decrease by 7.65?
10th Mar 2018, 9:22 PM
Roel
Roel - avatar
+ 1
ok then i'll just decrease it by 7 - 8 - 8 etc
10th Mar 2018, 9:43 PM
Roel
Roel - avatar
+ 1
tnxâ˜ș
13th Mar 2018, 8:21 PM
Roel
Roel - avatar