Sliding Doors, Explained
How it works: Uses 2 background images which “slide” together or apart to create the illusion that an image expands and contracts.
Take two images
Anchor wide image to one side of “doorway”
Add narrow image, anchor to other side
When doorway expands, images move in opposition, & the doorway grows, revealing more of each image