Roman came to me with the idea after seeing my duff-roll demo and wondered if this would be possible using just CSS. He produced the images and I investigated the possibilities of doing this in all CSS3 enabled browsers.
After trying several methods it became obvious that the only browsers capable of doing this were Safari and Chrome.
It basically involves having only two images on screen at any one time with the larger image at twice the scale of the smaller image and both zooming at the same time using 'scale'. Once the larger image reaches 2x zoom it is removed and another image added at 0.5x zoom over the remaining image which has now reached 1x zoom. And so on.....
The main problem was the timing of each keyframe to give a smooth transition from one set of images to the next. It required the use of cubic-bezier timing to make the animation look linear.
But we are both pleased with the result.












Bookmarks