Hey,
I am looking to do some “animation” on my home page,
I have a gif playing once on my home page,
I would like to change the background color, only at a specific frame of the gif. When the gif hit its 80 frame, the background should switch from white to black.
If should be done with javascript right ?
Could you direct me on how to do that ?
Thank you very much,
Best
What @nokaa describes above I do not think will assist your situation. As a spritesheet is for a single animated element.
If you are looking for a complex animation that changes the CSS of the page element then you would probably want to go with GreenSock or a similar JS based Animation library. Javascript is the only way to change CSS on the fly-
]]>