Zooming in on the Subject with Parallax Background

Image: Zooming in on the Subject with Parallax Background GIF

This is a really fancy image animation that gives you a parallax effect on the image and ends up looking like a zoom in effect on a specific subject on an image. Great when you want to give your images a dollied and zoom effect where two layers moving closer and further from the camera. It was designed by Lokesh Dhakar.

If you are having trouble with the pen, try the archived copy on GitHub

Dollied and Zoom Effect Snippet

See the Pen Vertigo Effect by Lokesh Dhakar (@lokesh) on CodePen.0

Posted by:Hima Vincent

Hima Vincent is the founder & editor in chief of CodeMyUI. She is a writer by day and a reader by night who helps web designers build awesome projects by sharing amazing code snippets for inspiration. Hobbies include designing, card games, photography and exploring the culinary arts.