You can't do it with HTML, but you might be able to do it with some jQuery effects.

http://jqueryui.com/effect/

THANK YOU SO MUCH!!

You could also use a "video" and some photo shop magic.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.