I want to implement some animation in CSS3 which has an effect like its been coded in flash.
I was looking for some effect which looks like the opening credits of a movie, when the credits keep getting displayed at various positions of the screen while the movie is playing in the background. Only thing instead of using a movie here I want to use images.
Looking for something like this: Madmanimation
I want to implement some animation in CSS3 which has an effect like its
Share
A really simple example I just did.
HTML:
CSS:
This one uses four elements (displayed one on top of the other) which have their opacity animated (you fade in the element you want to appear by changing its
opacityfrom 0 to 1 and you fade out the one you want to hide by changing itsopacityfrom 1 to 0), but there are numerous other options, like animating ascaletransform (you scale to 0 the element you want to disappear, and from 0 to 1 the element you want to appear) or animatingtop/right/bottom/leftvalues to move the elements on and offscreen.Also, you could have just one element with multiple backgrounds and then animate their
background-sizeorbackground-position(that’s strictly for switching the images, you’d have to synchronize the changing text with the changing images… or leave them unsynchronized for a more chaotic effect).