Can i make a translation move with a picture

Hello everyone, i wanna make a dashboard for my covers with an picture element.
I did a 3D plan of my house as this :


When my cover is closed I show a new picture of the house with the cover closed as this :

More precisly i just show the picture of the cover closed

This works perfectly but i would like to know if i could animated the cover picture to simulate to movement of the cover from the up to the bottom. I think it is possible with CSS but i don’t really know it.

Thank for your help